Best practices with import?
Alex
new_name at mit.edu
Sat Jul 28 21:24:50 EDT 2001
Goodness, without import, python's close to useless. There's usually a
module that does something related to whatever you're trying to do, and
you can often save yourself a lot of effort by using such modules.
I'm not sure what advantage there might be to deleting module references
in a function's scope just prior to leaving it. I would have thought
the reference was usually dropped at that point, anyway.
Alex.
More information about the Python-list
mailing list