Name

tofile

Synopsis

                     a.tofile(f)

Writes all items of a, taken as machine values, to file object f. Note that f should be open for writing in binary mode, for example with mode 'wb‘.

Get Python in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.