After looking all over the Internet, I\'ve come to this.
Let\'s say I have already made a text file that reads: Hello World
Hello World
Well, I want to remo
here is a dirty way (erase & recreate)... i don't advice to use this, but, it's possible to do like this ..
x = open("file").read() os.remove("file") open("file").write(x[:-1])