You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Presently, we have many ways to open, read, write and close files. Sometimes we use the Python built-in functions, and sometimes else we use our own file-like objects.
This makes it harder to easily adapt the code to changing requirements. (For example, I cannot easily add code to compress or decompress files and assume that it will work everywhere.)
I think we should design one file-like object to serve our needs and use that everywhere in the code.
The text was updated successfully, but these errors were encountered:
Presently, we have many ways to open, read, write and close files. Sometimes we use the Python built-in functions, and sometimes else we use our own file-like objects.
This makes it harder to easily adapt the code to changing requirements. (For example, I cannot easily add code to compress or decompress files and assume that it will work everywhere.)
I think we should design one file-like object to serve our needs and use that everywhere in the code.
The text was updated successfully, but these errors were encountered: