[Python-Dev] cProfile prints to stdout?
Guido van Rossum
guido at python.org
Sat Feb 25 22:36:33 CET 2006
On 2/25/06, skip at pobox.com <skip at pobox.com> wrote:
> I just noticed that cProfile (like profile) prints to stdout. Yuck.
Can you clarify? Why is it wrong to send the output of the profiler to
stdout? It seems to make sense to me that you should be able to
redirect the profiler's output to a file with a simple ">file".
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev