redirecting print to a a file

Mirco Wahab peace.is.our.profession at gmx.de
Thu May 11 09:26:11 EDT 2006


AndyL wrote:
>> $ python some_program.py | tee output.log
> Thx again. Python is cool, do that in C++ or Java :-)

Yes, thats obviously true ;-)

$> javac someprogram.java;
$> java someprogram | tee output.log

$> g++ someother.cpp -o someother
$> ./someother | tee output.log

SCNR,

Mirco



More information about the Python-list mailing list