[Tutor] noob python question

Asokan Pichai pasokan at gmail.com
Mon Oct 26 02:27:29 EDT 2015


Can you retype the question and your code?

On 26 October 2015 at 04:46, bob5487 <evolution5487 at gmail.com> wrote:

> 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
>
>
>
>
>
> --
> View this message in context:
> http://python.6.x6.nabble.com/noob-python-question-tp5174789.html
> Sent from the Python - tutor mailing list archive at Nabble.com.
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>



-- 
Asokan Pichai
*-------------------*
We will find a way. Or, make one. (Hannibal)

*To find everything profound — that is an inconvenient trait.* It makes one
strain one's eyes all the time, and in the end one finds more than one
might have wished. -- Nietzsche


More information about the Tutor mailing list