AttributeError: 'None' object has no attribute

Bill Bell bill-bell at bill-bell.hamilton.on.ca
Sat Jul 21 08:09:09 EDT 2001


phillip at transwitch.co.za (phillip) wrote, in part:	
> I have the following code :
>  <SNIP>
> Everything is fine if i put the function in the __init__ function,
> which is not a good idea, I want to keep the code compartmentilized
> nicely.

Phillip, if no-one furnishes a response to this query it might be 
because one cannot discern details such as (1) the line where the 
exception was raised, and (2) the 'function' to which you refer. How 
about supplying the code that failed and the text of the traceback? -
 Bill




More information about the Python-list mailing list