[Tutor] Reload my modules dir

Olavi Ivask olavi at city.ee
Wed Sep 22 17:16:33 CEST 2004


Hello

i made a folder(pythonscripts), where i hold my python scripts. Now, i added 
this dir to modules path list

>>>import sys
>>>sys.path.append('/home/olavi/pythonscripts')

After closing python, my script path dissapears, in sys.path list. How must i 
add this path, that every time i open python, it reloads that dir 
automatically?

i use debian, kernel2.6 and python 2.3.4

Thanks for your response

Olavi Ivask


More information about the Tutor mailing list