TRying to import files from my folder not pythons lib folder
tedpottel at gmail.com
tedpottel at gmail.com
Fri Sep 21 13:32:44 EDT 2007
Hi,
I'm trying to create my own lib of functions, but it seems like I can
only import them if they are in pythons lib folder.
Example
I have a folder called
K:\mypython
Now in the interactive python shell I type
Import k:\mypython\listall
And get a error on :
If I store listall.py in pythons lib folder and type
Limport listall
It works fins.
Can I create my own library of functions and store them in a separate
dir????
Also I try to creat a folder in pythomns lib folder and that did not
work
Help
-Ted
More information about the Python-list
mailing list