Mike wrote:

>>But if it's something that must be persistent and should not be
recreated, how do you guarantee the module won't be reloaded by some
other part of Webware?  Somebody yesterday asked a similar question.<<

There are a few ways to do this. See www.norvig.com/python-iaq.html,
question on "How do I do the Singleton Pattern in Python?", and also a more
extensive set of ways in
aspn/activestate.com/ASPN/Cookbook/Python/Recipe/52558

...Edmund.


_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to