Re: [Tutor] noob python question

2015-10-26 Thread Bob Gailer
Welcome to the tutor list. In order for us to help you please post the following: Python version Operating system The code you are running To trace back you are getting The trace back will be several lines of references to various programs and line numbers Once we have that information then it bec

Re: [Tutor] noob python question

2015-10-26 Thread boB Stepp
Greetings! On Sun, Oct 25, 2015 at 6:16 PM, bob5487 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, pyth

Re: [Tutor] noob python question

2015-10-26 Thread Asokan Pichai
Can you retype the question and your code? On 26 October 2015 at 04:46, bob5487 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 > progr

Re: [Tutor] noob python question

2015-10-25 Thread Cameron Simpson
On 25Oct2015 16:16, bob5487 wrote: 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 wo

Re: [Tutor] noob python question

2015-10-25 Thread Ben Finney
bob5487 writes: > Reading *Learn Python the Hard Way* Zed Shaw > > All good so far but got to Ex 42 dealing with classes... Can you give a URL to the exact code so that we can know we're seeing the same thing that you are? > I get a TypeError: getattr(): attribute name must be a string when I >

[Tutor] noob python question

2015-10-25 Thread bob5487
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 experi