New to Python

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Tue Sep 21 16:25:57 EDT 2004


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