I was trying to add text to a text file at the beginning but it always puts it at the end. My question is how could I make the text that I add, in python, add it to me at the beginning and not at the end? I will have a text file, eg:
Mifichero.txt
Then I wanted to put text at the beginning so that.
The new text that I will write in my file
Any possible way to put the text at the beginning using python?