how to include a file -- not import??
Eugene Goodrich
bitbucket at isomedia.com
Thu Jan 6 02:36:45 EST 2000
On Wed, 5 Jan 2000 23:52:46 -0500, "Darrell" <news at dorb.com> wrote:
>from filename import *
>
>Doesn't create another namespace. Avoid this in most cases.
>
What are the implications of your statement for Tkinter? Is that one
of the exceptions? I understand and respect the differences in what
happens to the namespaces, and I try to avoid 'from x import *', but
I'm wondering where the Python community buckles on this issue.
-Eugene
import binascii; print binascii.a2b_base64 ('ZXVnZW5lQGlzb21lZGlhLmNvbQ==')
More information about the Python-list
mailing list