DEBSOURCES
Skip Quicknav
sources / pycode-browser / 1%3A1.03-1 / Code / PythonBook / chap3 / fileio.py
12345678
#Example fileio.py from numpy import * a = arange(10) print( a) a.tofile('myfile.dat') b = fromfile('myfile.dat', dtype='int') print( b)