python 转义字符\other
时间: 2023-09-18 08:09:55 浏览: 216
详解Python中的各种转义符\n\r\t
在Python中,`\other`并不是有效的转义字符。转义字符通常用于在字符串中插入特殊字符,例如换行符`\n`和制表符`\t`。然而,`\other`并没有被定义为任何特殊字符,因此在Python中使用`\other`会导致语法错误。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [python转义字符学习笔记](https://blog.csdn.net/jacke121/article/details/128793163)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [详解Python中的各种转义符\n\r\t](https://download.csdn.net/download/weixin_38520046/14869069)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文