[issue12362] General Windows stdout redirection not working

R. David Murray report at bugs.python.org
Sun Jun 19 16:38:53 CEST 2011


R. David Murray <rdmurray at bitdance.com> added the comment:

The file association for .py is pythonw, which does exactly as you say, intentionally, so as to avoid problems with windows when running a GUI application.  My understanding is that this caters to the most common use case on Windows: double clicking a .py file launching a Python GUI application.  When running a python script in the console, use 'python', as in your example (or manually change your file association).

----------
nosy: +r.david.murray
resolution:  -> invalid
stage:  -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12362>
_______________________________________


More information about the Python-bugs-list mailing list