Re: [Tutor] Python List Help

2009-10-21 Thread Lie Ryan
Mike Sweany wrote: 33 print len(playerid) 34 print playerid[0] 35 *playerid* = [] **: list index out of range args = ('list index out of range',) message = 'list index out of range' If I change the print playerid[0] to print playerid[1], same er

Re: [Tutor] Python List Help

2009-10-19 Thread Mike Sweany
e Angel [mailto:da...@ieee.org] Sent: Monday, October 19, 2009 1:35 PM To: Mike Sweany Cc: tutor@python.org Subject: Re: [Tutor] Python List Help Mike Sweany wrote: > Hi all, > > > > I am a PHP developer that just started learning Python for a specific > application and the transi

Re: [Tutor] Python List Help

2009-10-19 Thread Dave Angel
Mike Sweany wrote: Hi all, I am a PHP developer that just started learning Python for a specific application and the transition has been pretty easily assisted by google, but I just don’t see the issue with this one? I’ve got a list that created and populate in a loop that shows the cor

[Tutor] Python List Help

2009-10-19 Thread Mike Sweany
Hi all, I am a PHP developer that just started learning Python for a specific application and the transition has been pretty easily assisted by google, but I just don’t see the issue with this one? I’ve got a list that created and populate in a loop that shows the correct info when I print