Silent python program

Andreas Jung andreas at andreas-jung.com
Wed May 30 21:24:33 EDT 2001


<olav.viken at kmss.no> schrieb im Newsbeitrag
news:9f04gg$6sj$1 at oslo-nntp.eunet.no...
> Can anyone tell me how to make a python script "silent" on win32 platform,
> as it was running in the background.  I don't want any output to the
> screen.

What about  the following ?

import sys
sys.stdout=sys.stderr=None

Andreas





More information about the Python-list mailing list