[Python-Dev] pkgutil, pkg_resource and Python 3.0 name space packages (original) (raw)
Christian Heimes lists at cheimes.de
Wed Jan 9 15:05:56 CET 2008
- Previous message: [Python-Dev] pkgutil, pkg_resource and Python 3.0 name space packages
- Next message: [Python-Dev] pkgutil, pkg_resource and Python 3.0 name space packages
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jeroen Ruigrok van der Werven wrote:
Careful with the name though. Microsoft Windows Vista did away with 'My Documents & Settings'. It is now C:\Users.
So you get: C:\Users<name>\AppData\Local\ (former Local Settings\Application Data) C:\Users<name>\AppData\Roaming\ (former Application Data) C:\Users<name>\Documents (former My Documents) C:\Users<name>\Music (former My Music) C:\Users<name>\Pictures (former My Pictures) C:\Users<name>\Videos (former My Videos)
My latest version uses the SHGetFolderPathW() function from ShlObj.h. It's the preferred way to get shell folder paths like CLSID_PERSONAL (my documents). It's compatible with 2000 and newer (maybe even older, but we don't support ME, NT4 or older) and works on Vista, too.
Christian
- Previous message: [Python-Dev] pkgutil, pkg_resource and Python 3.0 name space packages
- Next message: [Python-Dev] pkgutil, pkg_resource and Python 3.0 name space packages
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]