New to Python
Jimmie Webb
webbsoft2 at alltel.net
Tue Sep 21 16:27:47 EDT 2004
Yes, They look good to me. The nCost Value is 0022.63.
but I still get the error ValueError: Invalid literal for float(): EATE TA.
What does the 'EATE TA' mean?
Thanks!
"Marc 'BlackJack' Rintsch" <bj_666 at gmx.net> wrote in message
news:pan.2004.09.21.20.25.53.879679 at gmx.net...
> In <YU%3d.179$Xy5.164 at fe61.usenetserver.com>, Jimmie Webb wrote:
>
> > I tried x = float(nCost) but keep getting an error
> >
> > ValueError: Invalid literal for float(): EATE TA
>
> Maybe the slice values are just wrong? Have you printed all your
> variables after picking them from the string to make sure they contain
> what you expect?
>
> Ciao,
> Marc 'BlackJack' Rintsch
More information about the Python-list
mailing list