Newbie elementary question

rainer2207 at rainer2207 at
Sun Aug 29 11:52:56 CEST 1999

Can someone please explain what "self" and
"master" are?

At the moment I have

class Interface:
      def __init__(self, master):

root = Tk()
inter = Interface(root)

I'm assuming that master is the root window and
self is the instance name of the window in the
class. But I've also seen master=None. Can
someone please explain this?

Sent via
Share what you know. Learn what you don't.

More information about the Python-list mailing list