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

Exclusive mode when opening files #12

Open
takluyver opened this issue Jul 17, 2016 · 2 comments
Open

Exclusive mode when opening files #12

takluyver opened this issue Jul 17, 2016 · 2 comments

Comments

@takluyver
Copy link
Contributor

I don't have time to write it up just now, but open(..., mode='x') is a nice addition. It opens a file for writing, raising an error if it already exists. This probably belongs in the advanced section.

@kgullikson88
Copy link

Woah, I didn't know about this. That is a great feature!

@astrofrog
Copy link
Contributor

Yes, this is very cool!

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

No branches or pull requests

3 participants