Skip to content
This repository has been archived by the owner on May 23, 2019. It is now read-only.

File io py3 compatible #60

Merged
merged 1 commit into from
Apr 5, 2018

Conversation

danodonovan
Copy link
Contributor

Use the io module to handle file IO. This gets around string/byte confusion when running with both python 2 and python 3.

NB This also changes the --filename option to expect a file which exists and return the file's path, rather than returning an open file object. Previously this object was being opened twice.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants