![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archiveRe: Costly object creation (was : Having Trouble with Scoping Rules)
From: bruno at modulix <onurb@xiludom.gro>
Date: Tue Jan 31 2006 - 10:44:28 CET
Charles Krug wrote:
(snip)
> What's the correct way to do this?
Now about your *real* problem - which is nothing new -, you may want to
http://en.wikipedia.org/wiki/Singleton_pattern
HTH
--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb@xiludom.gro'.split('@')])"
Received on Tue Feb 7 20:19:27 2006
|