[Tutor] appending to a file on a new line

ADRIAN KELLY kellyadrian at hotmail.com
Thu Jan 19 15:32:21 CET 2012

Hi everyone,
is there an easy way to write to a file (that already exists with data contained) on a new line.  I understand that the file pointer appends where it left off but how do i write to the next line or even skip a line if possible?
User_info=open("C:\\Documents and Settings\\akelly\\Desktop\\details.txt",'a')

all the best,  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120119/2b8d6f81/attachment-0001.html>

More information about the Tutor mailing list