[Tutor] about importing a module

shawn bright nephish at gmail.com
Fri Jul 20 05:06:04 CEST 2007


change the name of the module, simple.
thanks
shawn

On 7/19/07, Tiger12506 <keridee at jayco.net> wrote:
>
> If the module has been imported before your code is run, it will be the
> library module (very important if working in IDLE which importants many
> modules, for example). But if it has not been imported before, the module
> in
> the current directory is imported first. You can check if a module has
> been
> imported previously by checking if in sys.modules.
>
> JS
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070719/62426ab7/attachment.html 


More information about the Tutor mailing list