KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm trying to write to a file that does not already exist using a file context manager. a=open ('C:/c.txt' , 'w') The above does not succeed. How would I create a file for writing if it does already exist?
Tags (comma-separated)
Save Edits
Cancel