Re: [Tutor] Python GUI

2011-06-29 Thread Alan Gauld
"David Merrick" wrote Others have answered the immediate issue. But... def testNumber(self): guess = int(self.numberEnt.get()) tries = 1 while guess != the_number: if guess > the_number: number += "Lower..." else:

Re: [Tutor] Python GUI

2011-06-29 Thread Walter Prins
Just to add to what Alan's said: A key thing you will need to wrap your head around when transitioning to GUI applications is the fact that the application is then not linear (or as linear) as a console/text application. In a console application you basically control everything, and if there need

Re: [Tutor] Python GUI

2011-06-29 Thread Alan Gauld
"Walter Prins" wrote Just to add to what Alan's said: A key thing you will need to wrap your head around when transitioning to GUI applications is the fact that the application is then not linear (or as linear) as a console/text application. Thanks for the extra detail Walter, I was in a

[Tutor] POST request using httplib2

2011-06-29 Thread naheed arafat
On the way of learning " handling POST request in php" i tried to make a simple python http client using httplib2 & urllib module.. what i wanted to do was submitting username & password field to a php script (which just echo's the username & password) & prints the response in python,not in html/p