Newbie Q: (NumPy) how to write an array in a file ?

Janko Hauser jhauser at ifm.uni-kiel.de
Tue Oct 10 13:03:15 EDT 2000


Travis Oliphant has writen something like fwrite and fread
specifically for NumPY. The main problem with other methods , like
struct or array.tostring() is that there needs to be a copy of the
data in memory.

The module is named numpyio and part of his signaltools package. 

http://oliphant.netpedia.net/


HTH,
__Janko
-- 
  Institut fuer Meereskunde             phone: 49-431-597 3989
  Dept. Theoretical Oceanography        fax  : 49-431-565876
  Duesternbrooker Weg 20                email: jhauser at ifm.uni-kiel.de
  24105 Kiel, Germany



More information about the Python-list mailing list