A very simple question

Skip Montanaro skip at pobox.com
Fri Aug 1 01:27:23 EDT 2003


    Arnaldo> class abc:
    Arnaldo>     x = 100
    Arnaldo>     y = 200
    Arnaldo>     z = 300

x, y and z are attributes of the class, not of instances of the class.  Try
printing abc.__dict__.

Skip





More information about the Python-list mailing list