Python '\n' Newline character representation

后端 未结 0 1662
慢半拍i
慢半拍i 2020-12-06 19:28

I input the line below from Terminal

echo "I\\nlove\\tAish" > tmp.txt

Since in Python I knew \'\\n\' to be newline and \'\\t\' t

相关标签:
回答
  • 消灭零回复
提交回复
热议问题