Recipes for trace statements inside python programs?

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


On 25 Giu, 13:15, koranthala <koranth... at gmail.com> wrote:
> On Jun 25, 1:40 pm, Francesco Bochicchio <bieff... at gmail.com> 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.

Ciao
---
FB



More information about the Python-list mailing list