when to use import statements in the header, when to use import statements in the blocks where they are used?

Lei Cheng pat.inside at gmail.com
Wed Feb 8 02:48:10 CET 2012


Hi all,

   In a py file, when to use import statements in the header, when to use
import statements in the blocks where they are used?
   What are the best practices?
   Thanks!

Pat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120208/70f1b744/attachment.html>


More information about the Python-list mailing list