array.array.fromfile()

array.fromfile(f, n)

Read n items (as machine values) from the file object f and append them to the end of the array. If less than n items are available, EOFError is raised, but the items that were available are still inserted into the array. f must be a real built-in file object; something else with a read() method won’t do.

doc_python
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.