shell.SHGetSpecialFolderPath

string = SHGetSpecialFolderPath(hwndOwner, nFolder , bCreate )

Retrieves the path of a special folder.

Parameters

hwndOwner : PyHANDLE

Parent window, can be None (or 0)

nFolder : int

One of the CSIDL_* constants specifying the path.

bCreate=0 : int

Should the path be created.