Interpreter output

Adrian Phillips (tandem@freeze.oslo.dnmi.no)
Thu, 24 Mar 1994 14:01:09 +0000

Hi all again,

I remember a couple of weeks ago when I had just started with python, somebody
mentioned being able to stop the interpreter from sending output to stdout (or
stderr) - the same that you would get if you were running interactive, e.g if
you have a function that returns 1 or 0 and another calls it but doesn't check
the response, i.e myfunc () instead of tt = myfunc(), python sends the 1/0 to
stdout. I want to trap this in some way because it is a nightmare trying to
find the occurrences where it does this.
Any clues ?

Thanks,

Adrian

-- 
-------------------------------------------------------------------------
= Adrian Phillips at            | BUT any thoughts in this are purely    =
= The Norwegian Meteorological  | my own and have nothing to do with     =
= Institute   	    	        | this establishment, thankfully.        =
= Net: daap@typhoon.oslo.dnmi.no  Phone: 47 22 96 32 09 Fax: 47 22 96 30 50