How do I write a “tab” in Python?

前端 未结 6 1323
深忆病人
深忆病人 2020-12-02 15:20

Let\'s say I have a file. How do I write \"hello\" TAB \"alex\"?

6条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-02 15:46

    It's usually \t in command-line interfaces, which will convert the char \t into the whitespace tab character.

    For example, hello\talex -> hello--->alex.

提交回复
热议问题