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

Gerdus van Zyl gerdusvanzyl at gmail.com
Sun Nov 16 21:11:20 CET 2008


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 <yeosuanaik at gmail.com> 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 window I'm working
> in, like in a linux terminal?
>
> Sorry if this has been answered before but I've googled high and low and
> still can't seem to find how to do this.
>
>
> Thanks,
> Suan
> --
> View this message in context: http://www.nabble.com/How-to-make-python-scripts-output-to-current-cmd-window--%28like-linux-terminal%29-tp20528072p20528072.html
> Sent from the Python - python-win32 mailing list archive at Nabble.com.
>
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32
>


More information about the python-win32 mailing list