mix up between numbers and strings

Jad Courbage jad at altern.org
Wed Sep 6 01:06:05 CEST 2000


Hi,

I wrote a program to extract data from a file (with help of
narray=file.readlines()).
The problem is that it seems that the interpreter "thinks" that narray is a
string array
although the file it is extracted from is a number data file. Therefore, I
can't manipulate my data as numbers.
Sorry for this newbieish question
Any idea ?

Thanks by advance.

Jad.





More information about the Python-list mailing list