【发布时间】:2018-02-08 19:46:39
【问题描述】:
我在list of escape sequences in the python documentation 中找到了序列\newline。我想知道它是如何使用的以及用于什么。至少在我的解释器中,这似乎只是被解释为'\n' + 'ewline':
>>> print('\newline')
ewline
【问题讨论】:
标签: python escaping newline string-literals