-----------------------------------------------------------------
----------------------------------------------------------------->>import sys
sys.path
sys.path.append('E:\achieve\book\diveintopytho n-pdfzh-cn-5.4b\diveintopythonzh-cn-5.4b\py')
I append the filepath of <<dive into python>>'s examples into
sys.path,but
-----------------------------------------------------------------
['C:\\Python25\\Lib\\idlelib', 'C:\\WINDOWS\\system32\\python25.zip',>>sys.path
'C:\\Python25\\DLLs', 'C:\\Python25\\lib', 'C:\\Python25\\lib\\plat-
win', 'C:\\Python25\\lib\\lib-tk', 'C:\\Python25', 'C:\\Python25\\lib\
\site-packages', 'E:\x07chieve\x08ook\\diveintopython-pdfzh-cn-5.4b\
\diveintopythonzh-cn-5.4b\\py']
Traceback (most recent call last):>>import fileinfo#fileinfo is a module in the path
File "<pyshell#5>", line 1, in <module>
import fileinfo
ImportError: No module named fileinfo
-----------------------------------------------------------------
Can anyone tell me the reason of the above and how to add paths to
python path except adding them in the enviroment path.
Thanks.