Python: write to file multiple times without open/close for each write
- by GrizzLy
How can i open file in python and write to it multiple times?
I am using speech recognition, and i want one file to change its contents based on what i say.
Other application needs to be able to read this file.
Is there way to do this, or i need to open/close for each write?