![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archiveRe: test whether 2 objects are equal
From: bruno at modulix <onurb@xiludom.gro>
Date: Tue Jan 31 2006 - 15:17:44 CET
Yves Glodt wrote:
Take care, this creates two *class* variables var1 and var2. For
class Test:
> test1 = Test()
This creates instances variables var1 and var2 for test1 (shadowing
(snip the rest, see other posts in this thread)
--
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:21:44 2006
|