noob python question

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

noob python question

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

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


Found the error...
Indentation !!!!

Thanks anyway