Newbie question, problem with functions

Rickard Karlsson rickard-karlsson at bostream.nu
Wed Sep 24 10:53:20 EDT 2003


> You are in fact passing the result of self.execute(...), i. e. None, instead
> of the method. Do
> 
> b3 = Button(frame, text="pwd", command=lambda: self.execute('pwd'))


Thank you so much, it works fine now.




More information about the Python-list mailing list