[Python-Dev] pkgutil, pkg_resource and Python 3.0 name space packages

Christian Heimes lists at cheimes.de
Tue Jan 8 23:30:25 CET 2008


Paul Moore wrote:
> Not My Documents, please! That's for documents, not configuration.
> %USERPROFILE% is actually where most other applications put stuff. The
> alternative would be %HOMEDRIVE%%HOMEPATH% which is what
> os.path.expanduser uses.

http://msdn2.microsoft.com/en-us/library/bb762494(VS.85).aspx

CSIDL_PROFILE (FOLDERID_Profile)
    Version 5.0. The user's profile folder. A typical path is
C:\Documents and Settings\username. Applications should not create files
or folders at this level; they should put their data under the locations
referred to by CSIDL_APPDATA or CSIDL_LOCAL_APPDATA.

Christian


More information about the Python-Dev mailing list