Adding paths to sys.path permanently, and another problem...

Amir Dekel adekel at
Thu Dec 16 18:18:44 CET 2004

Hi everyone,

I have two problems:

1. How can I keep my changes in sys.path after closing the interpreter?

2. os.path.expanduser("~") always gives me "C:\\" instead of my 
homepath. I have tried to change my homepath in WinXP using set 
homepath(in command line), and alsaw using the "Environment Variables" 
in WinXP system properties, non helped. I really have to fix this somehow.


More information about the Python-list mailing list