Beginner's question: executing scripts under Win XP pro

Roger Upole rupole at hotmail.com
Mon Mar 27 23:23:22 EST 2006


"Jean-Claude Garreau" <jean-claude.garreau at univ-lille1.fr> wrote in message news:e03hdc$k7v$1 at chouia2.univ-lille1.fr...
> 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 before
> I can do anything else. I am greatful if anyone can help me.
>
> Please reply also to jean-claude.garreau at univ-lille1.fr
>
> Thanks a lot,
>
>    Jean-Claude


Set the environment variable PYTHONINSPECT.
It causes the interpreter to halt at the interactive prompt
after the script runs so you can see the output.

        Roger




----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---



More information about the Python-list mailing list