[Tutor] IDLE 1.2 Question

2007-08-11 Thread Jerry VanBrimmer
I'm using IDLE 1.2 with Python 2.5. My question is, when I'm coding something in an IDLE window, save the code as a file.py, then click on Run>Run Module; and then I change something in the code, resave the file, click on Run>Run Module again; does this remap the namespace in the Python shell? (Wh

Re: [Tutor] IDLE 1.2 Question

2007-08-12 Thread Jerry VanBrimmer
Thank you, sorry for the repeat question. On 8/11/07, Luke Paireepinart <[EMAIL PROTECTED]> wrote: > It depends whether IDLE is opened with a subprocess or not. If it's a > subprocess, your program will have a separate interpreter entirely from > that used by IDLE, so the namespace will be the de

Re: [Tutor] random number generator

2007-10-04 Thread Jerry VanBrimmer
I'm no Python wizard, I'm still learning myself. But I think you need another "if" statement to check if "guess" is equal to "number". if guess == number: print "Congratulations!" Something like that. On 10/4/07, Jim Hutchinson <[EMAIL PROTECTED]> wrote: > Hello, > > I am writing a little