Several times here on SO I"ve seen people using
wt modes for reading and writing files.
with open("input.txt", "rt") as input_file: with open("output.txt", "wt") as output_file: ...
I don"t see the modes documented, but since
open() doesn"t throw an error - looks like it"s pretty much legal to use.
What is it for and is there any difference between using