Text only
22 Sep 2008
 
 
Tools: wrap/unwrap  
1
2
3
4
5
6
7
In [57]: class A(object):
a = 1
....:
....:
In [59]: "%(a)s" % A.__dict__
Out[59]: '1'