Re: Beginner's question: executing scripts under Win XP pro

2006-03-27 Thread Roger Upole
Jean-Claude Garreau [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I'm a beginner with python 2.4. I use it on Win XP Pro. I have no problems with the GUI IDLE, but when I copy the instructions in a script file, say 'test.py' and double click on the file, I have just a

Beginner's question: executing scripts under Win XP pro

2006-03-25 Thread Jean-Claude Garreau
Hi, I'm a beginner with python 2.4. I use it on Win XP Pro. I have no problems with the GUI IDLE, but when I copy the instructions in a script file, say 'test.py' and double click on the file, I have just a console window for a few moments, no output shown and the window closes automatically

Re: Beginner's question: executing scripts under Win XP pro

2006-03-25 Thread [EMAIL PROTECTED]
there seems to be an error in your script. Why don't you execute it directly from IDLE (F5) ? There, you should see where the problem is. -- http://mail.python.org/mailman/listinfo/python-list

Re: Beginner's question: executing scripts under Win XP pro

2006-03-25 Thread Jean-Claude Garreau
Thank you for your answer. I did it. It executes perfectly in IDLE. I made a copy/paste from IDLE into the 'test.py' and I obseved the behavior I discribed. The script is extremely simple (it is just a test): n=0 while( n10 ): print n,n*n n+=1 [EMAIL PROTECTED] a écrit dans le

Re: Beginner's question: executing scripts under Win XP pro

2006-03-25 Thread Scott Souva
On Sat, 25 Mar 2006 14:45:34 +0100, Jean-Claude Garreau [EMAIL PROTECTED] wrote: Hi, I'm a beginner with python 2.4. I use it on Win XP Pro. I have no problems with the GUI IDLE, but when I copy the instructions in a script file, say 'test.py' and double click on the file, I have just a

Re: Beginner's question: executing scripts under Win XP pro

2006-03-25 Thread J Correia
Scott Souva [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Your script may be working properly, but XP simply removes the window after the script runs. Here is a simple fix that will stop at the end of the script and leave the Command window open: print Hello World raw_input()