In the Exchange method file, we are currently using f.open() to open and read files. A few comments:
1) This should not even be in the user-facing exchange method description since it pertains to internal file handling.
2) with open is simply a better way to handle files.
Now, point 2 can be handled easily. Point 1 will need separation of the Exchange method into a "translator" component and an exchange method component.
In the Exchange method file, we are currently using
f.open()
to open and read files. A few comments:1) This should not even be in the user-facing exchange method description since it pertains to internal file handling.
2)
with open
is simply a better way to handle files.Now, point 2 can be handled easily. Point 1 will need separation of the Exchange method into a "translator" component and an exchange method component.