Python: write to file multiple times without open/close for each write

Posted by GrizzLy on Stack Overflow See other posts from Stack Overflow or by GrizzLy
Published on 2010-03-18T20:38:49Z Indexed on 2010/03/18 20:41 UTC
Read the original article Hit count: 654

Filed under:
|

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?

© Stack Overflow or respective owner

Related posts about python

Related posts about file