Avoiding `exec', how to?
François Pinard
pinard at iro.umontreal.ca
Thu May 30 17:14:30 EDT 2002
[holger krekel]
> module = __import__(__name__)
> is the better way IMO.
Indeed. Thanks again!
> And it is desirable to avoid __*__ names if possible.
I agree with you that when easily avoided, it is better avoiding them.
Thanks to all of you for these stylistic discussions. Even if they may
look like details to many, they are important to me, as they set habits
meant to last for a long while. Good habits are source of some pleasure!
--
François Pinard http://www.iro.umontreal.ca/~pinard
More information about the Python-list
mailing list