Newbie has trouble with in/output
Mark Hammond
Mark.Hammond at p98.f112.n480.z2.fidonet.org
Fri Jul 2 14:56:49 EDT 1999
More information about the Python-list mailing list
Fri Jul 2 14:56:49 EDT 1999
- Previous message (by thread): Newbie has trouble with in/output
- Next message (by thread): scope-resolution
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: "Mark Hammond" <MHammond at skippinet.com.au> Florian W. wrote in message <7lglb4$ksu$1 at news.vossnet.de>... >1.) Being in a pipe: > >I won't to filter the output of the compiler (e.g. only errors and warning >are reported, no logo etc.) >using the pipe-mechanismen : > >cl.exe blabla | python filter_compiler_output.py > >How do I catch the input and how do print the output ? You simply read() to get the input, and print to write output!! >2.) Catch the output of an application: Check out the win32pipe module in the win32all package. Documentation (sort-of :) is in the help file, or searching dejanews for that module name will return plenty of hits... Mark.
- Previous message (by thread): Newbie has trouble with in/output
- Next message (by thread): scope-resolution
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list