[Tutor] (no subject)
rabidpoobear at gmail.com
Fri Jun 22 13:15:39 CEST 2007
Kent Johnson wrote:
> Nick Treloar wrote:
>> im not sure why this progrm isnt running properly one of the button wont
>> open and it teel me a computer_guess is not defined
> Please include the exact error message and traceback when you report
> errors, they include much useful information.
> Which button won't open?
> Your __init__() method calls self.computer_guess() but there is no
> computer_guess() method, that is probably the source of the
> computer_guess error. I don't think you need that call at all since the
> guessing happens inside the rock, paper, scissors methods.
> You should call root.mainloop() as the last line of your program,
> otherwise the buttons will not respond to clicks.
Also, PLEASE USE A SUBJECT.
Whenever another (no subject) thread starts up, I have to scroll up 2
pages in my mail reader every time there's a new message.
it doesn't even have to be a meaningful subject. Just anything but (no
More information about the Tutor