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] Python mail server outage

2015-10-25 Thread Alan Gauld
You may have noticed that the list has been quite of late due to Python mailman server having been dead for the past few days. It seems to be back up again (thanks to somebody for that!). If you posted anything recently and it hasn't appeared please give it a day or so in case there are queues t

Re: [Tutor] Scraping Wikipedia Table (The retruned file is empty)

2015-10-25 Thread Alan Gauld
On 24/10/15 00:15, Mark Lawrence wrote: Looking more at the code... > for x in range(len(drama_actor)): This looks unusual... A better question IMHO is "where did you learn to write code like that in the first place", as I've seen so many examples of this that I cannot understand why pe

[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

Re: [Tutor] Scraping Wikipedia Table (The retruned file is empty)

2015-10-25 Thread Mark Lawrence
On 23/10/2015 03:31, Danny Yoo wrote: On Thu, Oct 22, 2015 at 4:01 PM, Cynthia Alice Andrews wrote: At this point I feel like I am wasting my time by not asking for help. I can't figure out why the file keeps coming back empty. There are no error message, just an empy file. Very frustrating.