Quantcast

noob python question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

noob python question

bob5487
This post has NOT been accepted by the mailing list yet.
This post was updated on .
Howdy!

Reading Learn Python the Hard Way Zed Shaw

All good so far but got to Ex 42 dealing with classes...

I get a TypeError: getattr(): attribute name must be a string when I run the program...

I looked online, python reference manual 3rd edition, etc...

I was wondering if anyone has experience with this book because I hit a road block

EDIT POST:

Found the error...
Indentation !!!!

Thanks anyway
Loading...