[Tutor] about importing a module

shawn bright nephish at gmail.com
Thu Jul 19 20:53:21 CEST 2007


hello there,

if i have a module that is in the same directory as the file that imports
it,
but that module has the same name as a module in my python path, which one
gets imported ?

i ask because i want to do some work on the module, but dont want to mess
with my stable
one in site-packages.
so i want to import it from the local directory only.

thanks

shawn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070719/6a1557d7/attachment.html 


More information about the Tutor mailing list