登录
上传中....
如何编写“标签"?在 Python 中?
假设我有一个文件.你好"TABalex"怎么写?
Let's say I have a file. How do I write "hello" TAB "alex"?
代码如下:
f = open(filename, 'w') f.write("hello alex")
字符串中的 是水平制表的转义序列.
The inside the string is the escape sequence for the horizontal tabulation.