• 注意三重引号可以轻松处理多行XML文档

    Notice that the triple quotes handle the multiline XML document with ease.

    youdao

  • 另外,字符串可以一对三重引号”””'''来标识

    Or, strings can be surrounded in a pair of matching triple-quotes: """ or '.

    youdao

  • 三重引号中的字符串在行尾需要换行标记,所有的格式都会包括字符串中。

    End of lines do not need to be escaped when using triple-quotes, but they will be included in the string.

    youdao

  • Groovy三重引号(其他语言通常称作heredoc)使得在内部存储XML变得非常轻松如清单4

    Groovy's triple quotes (commonly called a HereDoc in other languages) make it effortless to store the XML internally, as shown in Listing 4.

    youdao

  • 字符串上调用。r会把变成一个正则表达式我们原始(三重引号)字符串避免诸多双重转义的反斜杠。

    Calling.r on a string turns it into a regular expression; we use raw (triple-quoted) strings here to avoid having to double-escape backslashes.

    youdao

  • 使用引号三重引号字符串前面可以加一个字母r表示Python应该解释规则表达式特殊字符

    Both single-quoted or triple-quoted strings may be preceded by the letter "r" to indicate that regular expression special characters should not be interpreted by Python. For example.

    youdao

  • 使用引号三重引号字符串前面可以加一个字母r表示Python应该解释规则表达式特殊字符

    Both single-quoted or triple-quoted strings may be preceded by the letter "r" to indicate that regular expression special characters should not be interpreted by Python. For example.

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定