On Jun 22, 9:56 am, dmitrey <[EMAIL PROTECTED]> wrote:
> hi all,
> I have a
> y = some_func(args)
> statement, and the some_func() produces lots of text output. Can I
> somehow to suppress the one?
> Thx in advance, D.

[code]
import sys
import os

sys.stdout = open(os.devnull,"w")
[/code]

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to