[Twisted-Python] Newbie question: How to reference the "__main__"

Itamar Shtull-Trauring itamar at itamarst.org
Fri Oct 1 09:04:53 MDT 2004


On Fri, 2004-10-01 at 05:40, Iap, Singuan wrote:

> In server.py
> ----------------------------------------
> config=Configuration()
somewhere.MyObject.addConfig(config)

and then MyObject can access the config.





More information about the Twisted-Python mailing list