/dev/null as a file-like object, or logging to nothing

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Sat Sep 8 13:25:39 EDT 2007


On Sat, 08 Sep 2007 18:52:57 +0200, Torsten Bronger wrote:

> Is there a portable and simply way to direct file-like IO to simply
> nothing?  I try to implement some sort of NullLogging by saying

`os.devnull`?

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list