Whats up with the _
JB
jimbag at kw.igs.net
Mon Feb 14 02:06:11 EST 2000
I have some global vars defined in a module that are prefixed with an
underscore '_'. When I do a 'from MyModule.MyModule import *' the vars
with the _ prefix don't get imported but when I change the names to drop
the _ they import properly. Is this a bug or a feature? If someone could
expalin why this is so I would appreciate it. I missed this in the
doc's.
cheers
jb
--
There is more to life than increasing its speed.
-- Mahatma Gandhi
More information about the Python-list
mailing list