logging from severl classes
flupke
flupke at nonexistingdomain.com
Thu Jan 6 09:27:10 EST 2005
Vinay Sajip wrote:
> It works for me:
>
> #file3.py
> import file1
> import file2
>
> a = file1.A()
> b = file2.B()
> b.otherfunction()
>
> gives
>
> 2004-12-28 00:18:34,805 DEBUG file2 6 creating class B
> 2004-12-28 00:18:34,805 DEBUG file2 9 in otherfunction
>
yeah, the classes where a simplification of the classes i'm using and
used these to just show what i wanted to do without testing them.
they indeed work. strange.
Thanks for your answer
benedict
More information about the Python-list
mailing list