headaches for a long time for this issue , an addition in the context variable path to their own modules ,
GHD IV Mini Straighteners, but while programming in the cgi environment variables to load does not work in , depressing!
every must import sys; sys.path.append ('/ home / oper / lib') ahead
Fortunately, a handful of
google today , finally found a following, too Lord , how the test get busy?
in the dist-packages ( ie / usr/local/lib/python2.6/dist-packages) join a path apt the file ,
GHD NZ, such for mypkpath.pth, must be . pth postfix , jot your to join The file name it absences , such as my :
/ home / tony / tst-python
Save and exit , OK! The results of their verification,
GHD Hair Straightener, restart the final, re- open the python,
GHD Purple Gift Set,
>>> import sys>>> sys.route ['',
GHD IV Pink Straighteners, '/ usr/lib/python2.6', '/ usr/lib/python2.6/plat-linux2 ',' / Usr/lib/python2.6/lib-tk ',' / usr/lib/python2.6/lib-old ',' / usr/lib/python2.6/lib-dynload ',' / usr / lib/python2.6/dist-packages ',' / usr/lib/python2.6/dist-packages/PIL ',' / usr/lib/python2.6/dist-packages/gst-0.10 ',
GHD Red Butterfly 2011,' / var/lib/python-support/python2.6 ',' / usr/lib/python2.6/dist-packages/gtk-2.0 ',' / var/lib/python-support/python2.6/gtk-2.0 ' , '/ Usr/lib/python2.6/dist-packages/wx-2.6-gtk2-unicode', '/ usr/local/lib/python2.6/dist-packages',' / family / tony / tst-python ',' / Usr/local/lib/python2.6/dist-packages']