[Tutor] how to add directory to python search list
Surya P.K. Kasturi
kasturisurya at gmail.com
Sun Jul 17 07:52:11 CEST 2011
OS : Ubuntu Linux
Python Version : 2.6.4
I have some third party modules to be installed in my computer.
So, I want to add the module directory to python search list.
I used :
*>>> import sys*
*>>> sys.path.append('directory address')*
this could do my work but as soon as I close the terminal and reopen it, I
am not able to find the new directory I have just added.
I used the following code to check.
*how do I fix this problem ? *
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor