python: ascii read

Batista, Facundo FBatista at
Thu Sep 16 14:29:11 CEST 2004

[Sebastian Krause]

#- I did not explictly mention that the ascii file should be 
#- read in as an 
#- array of numbers (either integer or float).
#- To use open() and read() is very fast, but does only read in 
#- the data as 
#- string and it also does not work with large files.

What you mean with "also does not work with large files"?

I worked with files up to my OS limit (2GB) without *any* issue.

In what enviroment are you? OS? Python version?

Also, if you want to deal with the format of the file, check the ``struct``

.	Facundo

More information about the Python-list mailing list