[Tutor] help with GUI

2006-06-21 Thread Christopher Spears
I am trying to write a GUI that consists of a scrollbar and two buttons. One button is called Convert, and the other is called Quit. The vertical scrollbar represents degrees Fahrenheit starting from 212 at the top and ending at 32 at the bottom. I want to be able to pick degrees Fahrenheit with

Re: [Tutor] critique my script!

2006-06-21 Thread Kent Johnson
Christopher Spears wrote: > I can apparently call the functions sometimes without > (). Why is that? There is an important difference between f and f() - f is a reference to the function object itself, while f() is a *call* of the function. (Call is actually an operator, written (). You can wri

Re: [Tutor] Need python 2.4 rpm for Suse 9.1

2006-06-21 Thread Senthil_OR
try at rpmfind.net or google it. but the immediate thought which comes up in my mind is: "use the source, luke"   -- Senthil   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Akanksha GovilSent: Wednesday, June 21, 2006 5:36 PMTo: tutor@python.orgSubject: [Tutor] Need pytho

Re: [Tutor] Writing over a line in a text file

2006-06-21 Thread Bob Gailer
kieran flanagan wrote: > Hi > > I have a question regarding writing text to a file. I am directing > output to a logfile. During one of the loops, I have a command that > will issue a message on how long it is waiting for by doing something > like this > > while something: > > pr

Re: [Tutor] Writing over a line in a text file

2006-06-21 Thread kieran flanagan
Thanks for both your replies Yes I think you may have misunderstood my orginal post Luke. The portion of code I gave will ensure each time this line is written it just writes over the previous line ( when printed to the console and  \r is not windows specific). As I said, I have tried numerous way

Re: [Tutor] Writing over a line in a text file

2006-06-21 Thread Luke Paireepinart
kieran flanagan wrote: > Hi > > I have a question regarding writing text to a file. I am directing > output to a logfile. During one of the loops, I have a command that > will issue a message on how long it is waiting for by doing something > like this > > while something: > > pr

Re: [Tutor] Writing over a line in a text file

2006-06-21 Thread Kent Johnson
kieran flanagan wrote: > Hi > > I have a question regarding writing text to a file. I am directing > output to a logfile. During one of the loops, I have a command that will > issue a message on how long it is waiting for by doing something like this > > while something: > > pr

[Tutor] Need python 2.4 rpm for Suse 9.1

2006-06-21 Thread Akanksha Govil
Hi,I searched the sites but was unable to find Python 2.4 rpm for Suse 9.1.Please send me a link where I can download this.ThanksAkanksha Yahoo! Sports Fantasy Football ’06 - Go with the leader. Start your league today! ___ Tutor maillist - Tutor@py

[Tutor] Writing over a line in a text file

2006-06-21 Thread kieran flanagan
Hi I have a question regarding writing text to a file. I am directing output to a logfile. During one of the loops, I have a command that will issue a message on how long it is waiting for by doing something like this while something:     print "\rNow waiting %s seconds .. " % second