[Python-Dev] cProfile prints to stdout? (original) (raw)

skip at pobox.com skip at pobox.com
Sun Feb 26 01:13:04 CET 2006


>> It is currently impossible to separate profile output from the
>> program's output.

Guido> It is if you use the "advanced" use of the profiler -- the
Guido> profiling run just saves the profiling data to a file, and the
Guido> pstats module invoked separately prints the output.

Sure, but then it's not "simple". Your original example was "... > file". I'd like it to be (nearly) as easy to do it right yet keep it simple.

Skip



More information about the Python-Dev mailing list