Saving Numeric arrays to file?

Emile van Sebille emile at fenx.com
Fri Sep 26 21:28:53 EDT 2003


Duncan Smith asks about writing Numeric arrays to disk:
>        [ 0,  0,  0,  5,  0,  0]])
> >>> f = file('c:\Data\IS_rounded.txt', 'w')
>

Perhaps with 'wb' ?

Emile van Sebille
emile at fenx.com






More information about the Python-list mailing list