writing string to a file on a new line everytime?
        Posted  
        
            by kaushik
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by kaushik
        
        
        
        Published on 2010-05-27T03:56:12Z
        Indexed on 
            2010/05/27
            4:01 UTC
        
        
        Read the original article
        Hit count: 225
        
python
i want to write a string to a file and every time i use file.write( )it should write on a new line in my file
please tell how can i do this
© Stack Overflow or respective owner