Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Use with for files and locks" #30

Open
jhermann opened this issue Apr 14, 2016 · 1 comment
Open

"Use with for files and locks" #30

jhermann opened this issue Apr 14, 2016 · 1 comment

Comments

@jhermann
Copy link

Two points to consider:

  • maybe use io.open() (with a hint for Python 2.6 and below)
  • related to that, use encoding = 'utf-8' (possibly in its own section, with hints on other typical encoding sna-fus)
@raebi
Copy link

raebi commented May 21, 2016

Thanks for your tipps

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

No branches or pull requests

3 participants