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

Amir Dekel adekel at ort.org.il
Thu Dec 16 12:18:44 EST 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.

Thanks,
Amir



More information about the Python-list mailing list