how to print class names, not references

a.clarke11 a.clarke11 at pop.ntlworld.com
Sun Mar 17 20:36:53 EST 2002


Hi,
I wrote a function of x, where later in the program x is substituted by
class names. In the function, print x is used, but this returns
<__main__.Player instance at 0x38b1ce90> rather than the plain old class
name that  I wanted.
How can I print the name instead?
Thanks for your help, Pythoneers...




More information about the Python-list mailing list