CONSTRUCT - Module Attributes and Execution Environment

lazaridis_com ilias at lazaridis.com
Sun Sep 3 12:13:52 EDT 2006


lazaridis_com wrote:
> lazaridis_com wrote:
> > I would like to change the construct:
> >
> > if __name__ == '__main__':
> ...
>
> Is there a standard way / naming to wrap "__name__" and other similar
> attributes to an encapsulating class?
...

see follow-up thread:
http://groups.google.com/group/comp.lang.python/browse_thread/thread/37905d66ae0e37c4




More information about the Python-list mailing list