Re: split string problems

2006-09-08 Thread Larry Bates
Tempo wrote: > Hey. I am trying to grab the prices from the string below but I get a > few errors when I try to do it: Take a look at the code and error > messages below for me and thanks you in advanced to all that help. > Thank you. Here's the code & error messages: > p > [ >

Re: split string problems

2006-09-07 Thread John McMonagle
On Thu, 2006-09-07 at 16:21 -0700, Tempo wrote: > [ > $14.99 > , > $27.99 > , > $66.99 >

Re: split string problems

2006-09-07 Thread Andy Terrel
try str(p).split()[2] your class is using the __str__ attribute to print and I am guessing that is what you are seeing. Tempo wrote: > Hey. I am trying to grab the prices from the string below but I get a > few errors when I try to do it: Take a look at the code and error > messages below for me

split string problems

2006-09-07 Thread Tempo
Hey. I am trying to grab the prices from the string below but I get a few errors when I try to do it: Take a look at the code and error messages below for me and thanks you in advanced to all that help. Thank you. Here's the code & error messages: >>> p [ $1