pythonpath

刘宇辉 lyh19901223 at gmail.com
Mon Mar 1 07:10:55 EST 2010


>Sorry for my stupid question if i have to load module >from a folder ihave
to append it to the sys path the >folder?
>ex:
>if my  folder module is  /home/lucak904/Scrivania/Luca/enigma2
>i do this :
>import sys
>sys.path.append('/home/lucak904/Scrivania/Luca/enigma2')
>If this is correct why when i write:
>form enigma2 import *
>i get no module named enigma2

is  the folder module  /home/lucak904/Scrivania/Luca/enigma2.py?   i think
the extension  is necessary .

-- 
wolf python london
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100301/a37131ef/attachment-0001.html>


More information about the Python-list mailing list