Python Prompt in DOS Window

lion dance_code at hotmail.com
Mon Aug 19 21:54:55 EDT 2002


"Ali K" <akakakhel at attbi.com> wrote in message news:<L1X79.17008$IJ.2116 at sccrnsc02>...
> I would like to know how to write a script in the DOS window that opens up
> when you click on python.exe?

Lay this command into a filename.bat file:
python -i yourscript.py

Then you can run the script and stay in the python shell when you run
this filename.bat file.



More information about the Python-list mailing list