From 3964c0c301e74b00e88102da25d18c509e2de39f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=86=89=E3=80=81=E5=80=BE=E5=9F=8E?= Date: Mon, 12 Dec 2022 11:21:22 +0800 Subject: [PATCH] doc: update python.md (#221) --- README.md | 3 +-- docs/python.md | 11 +++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5744f60..307fa1a 100644 --- a/README.md +++ b/README.md @@ -390,9 +390,8 @@ Quick Reference [xushanxiang.com](https://xushanxiang.com/ref/) [winnerzr01.github.io](https://winnerzr01.github.io/Quick-Reference/index.html) [isteed.cc](https://ref.isteed.cc/) -[hestudio.org](https://quickref.hestudio.org) +[quickref.hestudio.org](https://quickref.hestudio.org) [surcode.cn](https://ref.surcode.cn) -[hestudio.org](https://quickref.hestudio.org) [cms.im](https://quickref.cms.im/) [nuomiphp.com](https://reference.tool.nuomiphp.com/) [eryajf.net](https://ref.eryajf.net/) diff --git a/docs/python.md b/docs/python.md index 17c58fe..07fe8f3 100644 --- a/docs/python.md +++ b/docs/python.md @@ -441,6 +441,17 @@ Enter your name: Tom True ``` +### 转义符号 +| 转义符号 | 对应的操作 | +|---|---| +| `\\` | 输出反斜杠 | +| `\'` | 输出单引号 | +| `\"` | 输出双引号 | +| `\n` | 换行 | +| `\t` | 水平制表符 | +| `\r` | 光标回到首位 | +| `\b` | 退格 | + Python F 字符串(自 Python 3.6+ 起) ----------------