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: 781
        
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