Yeah I eventually figured it out.. I don't know why i took me so
long...
its "myFile.py" or "python myFile.py" in the command prompt
or
"python myFile.py" if you're using PowerShell
--
View this message in context:
http://www.nabble.com/How-to-make-python-scripts-output-to-current-cmd
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
http://mail.python.org/mailman/listinfo/pyt
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 ./.py. Bu
Right now on Windows I have added ".py" to my PATHEXT so that I can run .py
files by doing ./.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 working
in, l