This is the code:
f = open(filename, 'w')
f.write("hello\talex")
The \t inside the string is the escape sequence for the horizontal tabulation.
This is the code:
f = open(filename, 'w')
f.write("hello\talex")
The \t inside the string is the escape sequence for the horizontal tabulation.