dmitrey schrieb: > 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. >
Either rewrite it or pipe sys.stdout to some other file-like object but your console while running it. The StringIO (http://docs.python.org/lib/module-StringIO.html) module might help. -- http://mail.python.org/mailman/listinfo/python-list