How To/python/

#!python
 
"""
sys.path
 
[en]
Property. Contain list of paths where python have to look for modules.
You can extend this property by using append() method (or any other
method for List class).
 
[pl]
Lista wszystkich ścieżek gdzie python powinien szukać modułów. 
Listę tą można rozszerzać używając metody append() lub dowolnego
innego sposobu na dodawanie nowych elementów do listy.
"""
 
import sys
print sys.path
sys.path.append('localdir/modules')
#sys.path.append('localdir\\modules') #windows way
print sys.path