How to catch python's STDOUT

Sybren Stuvel sybrenUSE at YOURthirdtower.com.imagination
Thu Apr 6 05:22:34 EDT 2006


praveenkumar.117 at gmail.com enlightened us with:
> Can someone help me by suggesting how to capture python's STDOUT. I
> doesn't want the python's output to get displayed on the screen.

python somescript.py > /dev/null

Sybren
-- 
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself? 
                                             Frank Zappa



More information about the Python-list mailing list