Re: python open.write insert's extra lines after any line after writing?

2021-01-10 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: python open.write insert's extra lines after any line after writing? My money is on the text editor is displaying \r as a newline, they're writing \n themselves, and it's getting converted to \r\n by Python.  Try this:open("myfile.txt", "wb")And see if it does

Re: python open.write insert's extra lines after any line after writing?

2021-01-10 Thread AudioGames . net Forum — Developers room : GrannyCheeseWheel via Audiogames-reflector
Re: python open.write insert's extra lines after any line after writing? I don't get what you're trying to say. They are the same to me. Did you come up with something like this:with open("test.txt", mode="w") as f: f.write("Hi, how are you \r\n&q

Re: python open.write insert's extra lines after any line after writing?

2021-01-10 Thread AudioGames . net Forum — Developers room : bhanuponguru via Audiogames-reflector
Re: python open.write insert's extra lines after any line after writing? hmm, what? it looks like both are same URL: https://forum.audiogames.net/post/605646/#p605646 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com