mix up between numbers and strings

Jad Courbage jad at altern.org
Tue Sep 5 19:06:05 EDT 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