Calling Python scripts as Visual Studio custom build step.

Jeff Hinrichs jlh at cox.net
Wed Jan 23 01:09:34 EST 2002


"Tom Harris" <TomH at optiscan.com> wrote in message
news:mailman.1011764553.19184.python-list at python.org...
> Greetings,
>
> Microsoft Visual Studio allows the specification of custom sets of
commands
> to be run when a file is built. Usually the output (stdout & stderr) of
> these commands is redirected to a log window. When MSVC runs a Python
> script, however, the output is lost. It works fine if the command is a
batch
> file or a Perl script. This is on MSVC 6.0 on NT 4.0, with Python 2.1 or
> 2.2.
Are you using print statements or os.sys.stdout in your python script?





More information about the Python-list mailing list