how to select between two file libraries with same name?

jmborr borreguero at gmail.com
Thu Aug 23 14:46:47 EDT 2007


Imagine my file one.py contains the statement
import two
If there's a two.py in same directory as one.py, then this file will
be loaded. However, I want to load a different file named also two.py,
say file ~username/mypythonlib/two.py
How can I select between the two two.py files ?
-jose




More information about the Python-list mailing list