win32api.GetTempPath

string = GetTempPath()

Retrieves the path of the directory designated for temporary files.