Note that this implicit new line of a data file is not interpreted as a character "\n".
注意,这暗示着数据文件的新行将不解释为一个 “\n” 字符。
Notice that the \n in the xlabel produces a new line.
注意 xlabel 中的 \n 会产生新的一行。
Now lets see if we can match a new line character, for our example we will use n.
现在可以看看我们是否能够匹配的新行字符,因为我们的例子中,我们将使用了 n。
So you have what are called escape characters like backslash N that is the shorthand notation of telling the computer put a new line character here.
幸亏我们有一些类似反斜杠n的转义字符,这只是一种简化方式,用来告知电脑要在这新添一行。
You can certainly hit Enter but as we saw-- seen that very quickly makes a mess of your code and such and so backslash N is new line.
你也可以敲回车键-,但是会让你的代码看起来乱七八糟,反斜杠n就是换行符。
I mean, you'll play with it in great-- with great delight this semester, you will see that backslash N is the standard in any text file for creating what we know as new line characters.
我是指,这学期,你们会很高兴-,和它打交道,同时你们也会看到,在任何文本文件里,反斜杠n已经是,换行的代名词了。
应用推荐