[Tutor] defining __init__

Christopher Spears cspears2002 at yahoo.com
Thu Jan 12 23:53:28 CET 2006

I just read about __init__ in the chapter on operator
overloading in Learning Python.  What is __init__
exactly?  Is it a special function that you can use to
initialize attributes in an object upon creation?

More information about the Tutor mailing list