class gui:
def_init_(self, mainwindow):
self.frame1 = Frame.mainwindow
self.frame1.pack()
Update: Thanks. Yes, the code is correctly indented elsewhere. Now, I'm getting a TypeError "This constructor takes no arguments". Eh?
Update again: OK, typeerror gone. But now getting a syntax error at every reference to the constructor's (self) method. Eh?
2 comments:
assuming you have the indenting correct in the real version, you're missing a space after "def"
Could you put the whole thing into a text file. Or email it to me? daveweeden@mac.com
Post a Comment