Python crash
Frank McCormick
fmccormick at videotron.ca
Fri Dec 14 15:13:50 UTC 2007
On Fri, 14 Dec 2007 10:43:27 -0400
Derek Broughton <news at pointerstop.ca> wrote:
> Frank McCormick wrote:
>
> >
> > Processor: Intel(R) Pentium(R) 4 CPU 2.60GHz
> > Processor: Intel(R) Pentium(R) 4 CPU 2.60GHz
> > HD size: 30003240960 bytes
> > File "about.py", line 56, in main
> > finalnode = xorgline.split('"')[1]
> > IndexError: list index out of range
>
> Yes? That seems normal. Anytime you do a "split()" on a string not
> containing the character, [1] is going to be out of range.
Thanks Derek, This went to the wrong list actually, but your advice
is still welcome.
--
Cheers
Frank
More information about the ubuntu-users
mailing list