Automatically creating a HOME environ variable on Windows?
Jarek Zgoda
jzgoda at o2.usun.pl
Sat Oct 29 05:46:14 EDT 2005
More information about the Python-list mailing list
Sat Oct 29 05:46:14 EDT 2005
- Previous message (by thread): Automatically creating a HOME environ variable on Windows?
- Next message (by thread): Automatically creating a HOME environ variable on Windows?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
jim.eggleston at gmail.com napisaĆ(a): > Windows doesn't have a HOME environment variable, but it does have > HOMEDRIVE and HOMEPATH. Could Windows versions of Python automatically > populate os.environ with HOME, where HOME = > os.path.join(os.environ['HOMEDRIVE'], os.environ['HOMEPATH'])? MS recommends using %USERPROFILE%, as the above in many cases returns "C:\", which is wrong. -- Jarek Zgoda http://jpa.berlios.de/
- Previous message (by thread): Automatically creating a HOME environ variable on Windows?
- Next message (by thread): Automatically creating a HOME environ variable on Windows?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list