I read that tr mode is a default mode when you use open() function. But I noticed that if I will write in PyCharm this
file = open("error.txt")
print(file)
than it will return <_io.TextIOWrapper name='error.txt' mode='r' encoding='UTF-8'>
I really can't understand what is the default mode: r or tr? And what is the difference?