More elegant way to cwd?

Kamilche kamilche at kamilche.com
Tue Dec 28 19:55:26 EST 2004


> For "library" modules there are already other and more elegant means.
> 
> -Peter

Well, I want to make a script execute without error regardless of where 
the current working directory is, and without having to make the user 
modify their PYTHONPATH variable or install something in site-packages.

Is there a way to let the user just 'drag the folder' anywhere on their 
hard drive, and have it work, without having to modify any special 
system variables?



More information about the Python-list mailing list