Where goes stdout ?

Gillou glenfant at equod.com.nospam
Sun Feb 11 18:46:27 CET 2001


Hi,

How to check in a script if stdout is a console (or xterm) or if it is
redirected to something else (file, pipe...) from command line.

Thanks in advance.

Gilles





More information about the Python-list mailing list