On Mar 1, 9:40 am, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > In <[EMAIL PROTECTED]>, Bjoern Schliessmann wrote: > > > But what's it (__name__) good for? > > As objects don't know to which name they are bound, that's a good way to > give some information in stack traces or when doing introspection.
Also, the name is used by pickle to find the class of pickled instances. Michele Simionato -- http://mail.python.org/mailman/listinfo/python-list