On Wed, Jul 10, 2013 at 3:45 AM, Dave Angel wrote:
>
> Get rid of the BOM from the data file, and it'll work fine. You don't
> specify what version of Python you're using, so I have to guess. But
> there's a utf-8 BOM conversion of a BOM at the beginning of that file, and
> that's not numeric.
On 06/28/2013 07:08 PM, grub...@roadrunner.com wrote:
I don't get why this doesn't work. Its a very small program to read in a group
of numbers. I've attached the the python file and my test file. The test file
just contains one line. The error I get is that it can't convert the string to
a fl
I don't get why this doesn't work. Its a very small program to read in a group
of numbers. I've attached the the python file and my test file. The test file
just contains one line. The error I get is that it can't convert the string to
a float, but its a valid number.# Test for string conversion