I'm saving a file containing \r with :
with open (filepath, mode = 'w') as file:
file.write(content)
And I read it with :
with open (filepath, mode = 'r') as file:
content = file.read()
I know that the characters \r are present in the saved file, but opening it with Python, they are replaced with \n.
So, how can I open my file with the \r ?