Re: [python-win32] How to make python scripts output to current cmd window? (like linux terminal)

2008-11-18 Thread Mike Driscoll
Tim Roberts wrote: Tim Roberts wrote: sayeo87 wrote: Right now on Windows I have added .py to my PATHEXT so that I can run .py files by doing ./filename.py. But when I do this the output of the program goes to a new command prompt window which instantly disappears. How can I instead

Re: [python-win32] How to make python scripts output to current cmd window? (like linux terminal)

2008-11-17 Thread Tim Roberts
sayeo87 wrote: Right now on Windows I have added .py to my PATHEXT so that I can run .py files by doing ./filename.py. But when I do this the output of the program goes to a new command prompt window which instantly disappears. How can I instead make the output go to the current command prompt

Re: [python-win32] How to make python scripts output to current cmd window? (like linux terminal)

2008-11-17 Thread Tim Roberts
Tim Roberts wrote: sayeo87 wrote: Right now on Windows I have added .py to my PATHEXT so that I can run .py files by doing ./filename.py. But when I do this the output of the program goes to a new command prompt window which instantly disappears. How can I instead make the output go to

Re: [python-win32] How to make python scripts output to current cmd window? (like linux terminal)

2008-11-17 Thread sayeo87
Tim Roberts wrote: Tim Roberts wrote: sayeo87 wrote: Right now on Windows I have added .py to my PATHEXT so that I can run .py files by doing ./filename.py. But when I do this the output of the program goes to a new command prompt window which instantly disappears. How can I

[python-win32] How to make python scripts output to current cmd window? (like linux terminal)

2008-11-16 Thread sayeo87
Right now on Windows I have added .py to my PATHEXT so that I can run .py files by doing ./filename.py. But when I do this the output of the program goes to a new command prompt window which instantly disappears. How can I instead make the output go to the current command prompt window I'm

Re: [python-win32] How to make python scripts output to current cmd window? (like linux terminal)

2008-11-16 Thread Gerdus van Zyl
Try removing it from PATHEXT, it seems to work fine without just going on the file association. At least on my PC. ~Gerdus On Sun, Nov 16, 2008 at 8:04 PM, sayeo87 [EMAIL PROTECTED] wrote: Right now on Windows I have added .py to my PATHEXT so that I can run .py files by doing ./filename.py.

Re: [python-win32] How to make python scripts output to current cmd window? (like linux terminal)

2008-11-16 Thread Michel Claveau
Hi! Use: cmd /k Example: cmd /k C:\myscripts\python\filename.py But... After, it's you, who must close the window... @-salutations -- Michel Claveau ___ python-win32 mailing list python-win32@python.org