Re: [Tutor] Help python coding not working

2008-06-11 Thread Evans Anyokwu
Just like you'd add any other button on your web page -- Evans On Wed, Jun 11, 2008 at 8:49 AM, Mfana-boy Msibi <[EMAIL PROTECTED]> wrote: > How to add a delete button in your web page in Python > > > > > __ Information from ESET NOD32 Antivirus, version of virus > signature database 31

Re: [Tutor] Help python coding not working

2007-05-08 Thread Luke Paireepinart
super krital wrote: > Hi need to get this program running for school so my teacher said to use the > forum etc. Its working fine except its not comparing my guess with the > result. im only having trouble with the second half or def update_text_count > can you please help find a solution so my p

Re: [Tutor] Help python coding not working

2007-05-07 Thread Gordon
self.guess overwrites itself, that's a live you commented on. And why it doesn't display the game over message is you do the "game over" check before you do the "is this correct?" check, but don't check to see if the game is over before the 2nd check. If that didn't make sense, psudocode: if c

Re: [Tutor] Help python coding not working

2007-05-07 Thread Andreas Kostyrka
Some comments, short (typing on mobiles is no fun): * self.guess gets overridden after the first iteration with an integer. guess what, integer don't have get methods. * I'd suggest to use if/elif/else, not independant ifs. better to read anyway. * consider using a dictionary to parametrize you