Recipes for trace statements inside python programs?

Francesco Bochicchio bieffe62 at
Thu Jun 25 08:06:31 EDT 2009

On 25 Giu, 13:15, koranthala <koranth... at> wrote:
> On Jun 25, 1:40 pm, Francesco Bochicchio <bieff... at> wrote:
> Is assert what you are looking for?
No. Assert raises exception if some condition is met. I just want to
be able to enable/disable the
printout of intermediate data, on a per function/method/class/module
basis, without altering the
execution flow.


More information about the Python-list mailing list