[issue25915] file.write() after file.read() adds text to the end of the file
Adam Wasik added the comment: duplicate of the issue #12215 -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue25915> ___ ___ Python-
[issue25915] file.write() after file.read() adds text to the end of the file
New submission from Adam Wasik: >>> file = open(r"C:\adam.txt","r+") >>> file.read() 'TEXT TEXT TEXT TEXT TEXT TEXT TEXT\nTEXT TEXT TEXT TEXT TEXT TEXT TEXT\nTEXT TE XT TEXT TEXT TEXT TEXT TEXT\nTEXT TEXT TEXT TEXT TEXT TEXT TEXT\nTEXT TEXT TEXT TEXT TE