pickle.load not working?
Marc 'BlackJack' Rintsch
bj_666 at gmx.net
Fri Aug 19 19:06:49 EDT 2005
In <1124379754.569717.25810 at f14g2000cwb.googlegroups.com>,
sp1d3rx at gmail.com wrote:
> oh, well how do I make "derek" be an instance of 'chatuser' ?
Spot the difference::
In [228]: class A: pass
.228.:
In [229]: a = A
In [230]: repr(a)
Out[230]: '<class __main__.A at 0x4078883c>'
In [231]: b = A()
In [232]: repr(b)
Out[232]: '<__main__.A instance at 0x4075e52c>'
Ciao,
Marc 'BlackJack' Rintsch
More information about the Python-list
mailing list