{"id":960875,"date":"2024-12-27T03:53:40","date_gmt":"2024-12-26T19:53:40","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/960875.html"},"modified":"2024-12-27T03:53:42","modified_gmt":"2024-12-26T19:53:42","slug":"python%e5%a6%82%e4%bd%95%e4%be%9d%e6%ac%a1%e5%8f%96%e5%ad%97%e7%ac%a6","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/960875.html","title":{"rendered":"python\u5982\u4f55\u4f9d\u6b21\u53d6\u5b57\u7b26"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25103253\/74452f9b-8fb8-4952-bd0e-96a73755932e.webp\" alt=\"python\u5982\u4f55\u4f9d\u6b21\u53d6\u5b57\u7b26\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u4f9d\u6b21\u53d6\u5b57\u7b26\u53ef\u4ee5\u4f7f\u7528\u5b57\u7b26\u4e32\u7d22\u5f15\u3001\u5207\u7247\u3001\u5faa\u73af\u548c\u5217\u8868\u89e3\u6790\u7b49\u65b9\u6cd5<\/strong>\u3002\u901a\u8fc7\u5b57\u7b26\u4e32\u7d22\u5f15\uff0c\u53ef\u4ee5\u8f7b\u677e\u8bbf\u95ee\u5b57\u7b26\u4e32\u4e2d\u7684\u5355\u4e2a\u5b57\u7b26\uff1b\u4f7f\u7528\u5207\u7247\uff0c\u53ef\u4ee5\u63d0\u53d6\u5b57\u7b26\u4e32\u7684\u5b50\u5b57\u7b26\u4e32\uff1b\u5faa\u73af\u53ef\u4ee5\u904d\u5386\u5b57\u7b26\u4e32\u7684\u6bcf\u4e2a\u5b57\u7b26\uff0c\u800c\u5217\u8868\u89e3\u6790\u5219\u662f\u4e00\u79cd\u7b80\u6d01\u7684\u65b9\u6cd5\u6765\u5904\u7406\u5b57\u7b26\u4e32\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5176\u4e2d\u7684\u4e00\u79cd\u65b9\u6cd5\u2014\u2014\u5b57\u7b26\u4e32\u7d22\u5f15\u3002<\/p>\n<\/p>\n<p><p>\u5b57\u7b26\u4e32\u7d22\u5f15\u662f\u6307\u901a\u8fc7\u5b57\u7b26\u7684\u4f4d\u7f6e\u6765\u8bbf\u95ee\u7279\u5b9a\u7684\u5b57\u7b26\u3002Python\u4e2d\u7684\u5b57\u7b26\u4e32\u662f\u4e00\u4e2a\u5b57\u7b26\u5e8f\u5217\uff0c\u6bcf\u4e2a\u5b57\u7b26\u90fd\u6709\u4e00\u4e2a\u5bf9\u5e94\u7684\u7d22\u5f15\uff0c\u7d22\u5f15\u4ece0\u5f00\u59cb\u3002\u4f8b\u5982\uff0c\u5bf9\u4e8e\u5b57\u7b26\u4e32<code>&quot;Python&quot;<\/code>\uff0c<code>P<\/code>\u7684\u7d22\u5f15\u662f0\uff0c<code>y<\/code>\u7684\u7d22\u5f15\u662f1\uff0c\u4f9d\u6b64\u7c7b\u63a8\u3002\u8981\u8bbf\u95ee\u5b57\u7b26\u4e32\u4e2d\u7684\u67d0\u4e2a\u5b57\u7b26\uff0c\u53ea\u9700\u5728\u5b57\u7b26\u4e32\u540e\u52a0\u4e0a\u65b9\u62ec\u53f7\u548c\u7d22\u5f15\u503c\u3002\u4f8b\u5982\uff0c<code>word[0]<\/code>\u5c06\u8fd4\u56de<code>&quot;Python&quot;<\/code>\u4e2d\u7684\u7b2c\u4e00\u4e2a\u5b57\u7b26<code>&quot;P&quot;<\/code>\u3002<\/p>\n<\/p>\n<hr>\n<p><p>\u4e00\u3001\u5b57\u7b26\u4e32\u7d22\u5f15<\/p>\n<\/p>\n<p><p>\u5b57\u7b26\u4e32\u7d22\u5f15\u662fPython\u4e2d\u6700\u7b80\u5355\u76f4\u63a5\u7684\u65b9\u6cd5\u4e4b\u4e00\u3002\u6bcf\u4e2a\u5b57\u7b26\u4e32\u90fd\u6709\u4e00\u4e2a\u4ece0\u5f00\u59cb\u7684\u7d22\u5f15\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u7d22\u5f15\u6765\u8bbf\u95ee\u5b57\u7b26\u4e32\u4e2d\u7684\u6bcf\u4e00\u4e2a\u5b57\u7b26\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u57fa\u672c\u7528\u6cd5<\/strong><\/p>\n<\/p>\n<p><p>\u5bf9\u4e8e\u5b57\u7b26\u4e32<code>&quot;Hello&quot;<\/code>\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u7d22\u5f15\u8bbf\u95ee\u6bcf\u4e2a\u5b57\u7b26\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">word = &quot;Hello&quot;<\/p>\n<p>print(word[0])  # \u8f93\u51fa: H<\/p>\n<p>print(word[1])  # \u8f93\u51fa: e<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8d1f\u6570\u7d22\u5f15\u4ece\u5b57\u7b26\u4e32\u7684\u672b\u5c3e\u5f00\u59cb\u8ba1\u6570\u3002\u4f8b\u5982\uff0c<code>-1<\/code>\u8868\u793a\u6700\u540e\u4e00\u4e2a\u5b57\u7b26\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">print(word[-1])  # \u8f93\u51fa: o<\/p>\n<p>print(word[-2])  # \u8f93\u51fa: l<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7d22\u5f15\u8303\u56f4<\/strong><\/p>\n<\/p>\n<p><p>\u5f53\u4f7f\u7528\u7d22\u5f15\u8bbf\u95ee\u5b57\u7b26\u65f6\uff0c\u5fc5\u987b\u786e\u4fdd\u7d22\u5f15\u5728\u5b57\u7b26\u4e32\u7684\u957f\u5ea6\u8303\u56f4\u5185\uff0c\u5426\u5219\u4f1a\u5f15\u53d1<code>IndexError<\/code>\u3002\u53ef\u4ee5\u4f7f\u7528<code>len()<\/code>\u51fd\u6570\u6765\u83b7\u53d6\u5b57\u7b26\u4e32\u7684\u957f\u5ea6\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">word = &quot;Hello&quot;<\/p>\n<p>length = len(word)<\/p>\n<p>print(length)  # \u8f93\u51fa: 5<\/p>\n<p>if length &gt; 5:<\/p>\n<p>    print(word[5])  # \u8fd9\u5c06\u5f15\u53d1\u9519\u8bef<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001\u5b57\u7b26\u4e32\u5207\u7247<\/p>\n<\/p>\n<p><p>\u5b57\u7b26\u4e32\u5207\u7247\u7528\u4e8e\u63d0\u53d6\u5b57\u7b26\u4e32\u7684\u5b50\u5b57\u7b26\u4e32\uff0c\u901a\u8fc7\u6307\u5b9a\u5f00\u59cb\u548c\u7ed3\u675f\u7d22\u5f15\u6765\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u57fa\u672c\u7528\u6cd5<\/strong><\/p>\n<\/p>\n<p><p>\u8bed\u6cd5\u4e3a<code>string[start:end]<\/code>\uff0c\u8fd9\u5c06\u8fd4\u56de\u4ece<code>start<\/code>\u5230<code>end-1<\/code>\u7684\u5b50\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">word = &quot;Hello&quot;<\/p>\n<p>print(word[1:4])  # \u8f93\u51fa: ell<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7701\u7565<code>start<\/code>\u5c06\u4ece\u5b57\u7b26\u4e32\u7684\u5f00\u5934\u5f00\u59cb\uff0c\u7701\u7565<code>end<\/code>\u5c06\u4e00\u76f4\u5230\u5b57\u7b26\u4e32\u7684\u672b\u5c3e\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">print(word[:2])  # \u8f93\u51fa: He<\/p>\n<p>print(word[2:])  # \u8f93\u51fa: llo<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6b65\u957f<\/strong><\/p>\n<\/p>\n<p><p>\u5207\u7247\u8fd8\u53ef\u4ee5\u6307\u5b9a\u6b65\u957f\uff0c\u8bed\u6cd5\u4e3a<code>string[start:end:step]<\/code>\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">word = &quot;Hello&quot;<\/p>\n<p>print(word[::2])  # \u8f93\u51fa: Hlo<\/p>\n<p>print(word[1:4:2])  # \u8f93\u51fa: el<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u4f7f\u7528\u5faa\u73af<\/p>\n<\/p>\n<p><p>\u5faa\u73af\u662f\u904d\u5386\u5b57\u7b26\u4e32\u4e2d\u6bcf\u4e2a\u5b57\u7b26\u7684\u7b80\u5355\u65b9\u6cd5\uff0c\u7279\u522b\u662f\u5728\u9700\u8981\u5bf9\u6bcf\u4e2a\u5b57\u7b26\u8fdb\u884c\u64cd\u4f5c\u65f6\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>for\u5faa\u73af<\/strong><\/p>\n<\/p>\n<p><p><code>for<\/code>\u5faa\u73af\u53ef\u4ee5\u9010\u4e2a\u8bbf\u95ee\u5b57\u7b26\u4e32\u4e2d\u7684\u6bcf\u4e2a\u5b57\u7b26\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">word = &quot;Hello&quot;<\/p>\n<p>for char in word:<\/p>\n<p>    print(char)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>while\u5faa\u73af<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528<code>while<\/code>\u5faa\u73af\u548c\u7d22\u5f15\u4e5f\u53ef\u4ee5\u5b9e\u73b0\u540c\u6837\u7684\u6548\u679c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">word = &quot;Hello&quot;<\/p>\n<p>i = 0<\/p>\n<p>while i &lt; len(word):<\/p>\n<p>    print(word[i])<\/p>\n<p>    i += 1<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u5217\u8868\u89e3\u6790<\/p>\n<\/p>\n<p><p>\u5217\u8868\u89e3\u6790\u662f\u4e00\u79cd\u7b80\u6d01\u7684\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5feb\u901f\u5904\u7406\u5b57\u7b26\u4e32\u4e2d\u7684\u6bcf\u4e2a\u5b57\u7b26\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u57fa\u672c\u7528\u6cd5<\/strong><\/p>\n<\/p>\n<p><p>\u5217\u8868\u89e3\u6790\u53ef\u4ee5\u7528\u4e8e\u521b\u5efa\u4e00\u4e2a\u5305\u542b\u5b57\u7b26\u4e32\u6bcf\u4e2a\u5b57\u7b26\u7684\u5217\u8868\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">word = &quot;Hello&quot;<\/p>\n<p>chars = [char for char in word]<\/p>\n<p>print(chars)  # \u8f93\u51fa: [&#39;H&#39;, &#39;e&#39;, &#39;l&#39;, &#39;l&#39;, &#39;o&#39;]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6761\u4ef6\u5217\u8868\u89e3\u6790<\/strong><\/p>\n<\/p>\n<p><p>\u8fd8\u53ef\u4ee5\u5728\u5217\u8868\u89e3\u6790\u4e2d\u4f7f\u7528\u6761\u4ef6\u8bed\u53e5\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">word = &quot;Hello&quot;<\/p>\n<p>vowels = [char for char in word if char in &#39;aeiouAEIOU&#39;]<\/p>\n<p>print(vowels)  # \u8f93\u51fa: [&#39;e&#39;, &#39;o&#39;]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e94\u3001\u5176\u4ed6\u65b9\u6cd5<\/p>\n<\/p>\n<p><p>\u9664\u4e86\u4e0a\u8ff0\u63d0\u5230\u7684\u65b9\u6cd5\uff0c\u8fd8\u6709\u5176\u4ed6\u4e00\u4e9b\u65b9\u6cd5\u53ef\u4ee5\u7528\u4e8e\u5b57\u7b26\u4e32\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528<code>enumerate<\/code><\/strong><\/p>\n<\/p>\n<p><p><code>enumerate<\/code>\u51fd\u6570\u53ef\u4ee5\u5728\u904d\u5386\u5b57\u7b26\u4e32\u65f6\u63d0\u4f9b\u7d22\u5f15\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">word = &quot;Hello&quot;<\/p>\n<p>for index, char in enumerate(word):<\/p>\n<p>    print(f&quot;Index: {index}, Character: {char}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b57\u7b26\u4e32\u62fc\u63a5<\/strong><\/p>\n<\/p>\n<p><p>\u53ef\u4ee5\u4f7f\u7528<code>+<\/code>\u8fd0\u7b97\u7b26\u6765\u62fc\u63a5\u5b57\u7b26\u4e32\uff0c\u8fd9\u5728\u9700\u8981\u9010\u4e2a\u6784\u5efa\u5b57\u7b26\u4e32\u65f6\u975e\u5e38\u6709\u7528\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">chars = [&#39;H&#39;, &#39;e&#39;, &#39;l&#39;, &#39;l&#39;, &#39;o&#39;]<\/p>\n<p>word = &#39;&#39;.join(chars)<\/p>\n<p>print(word)  # \u8f93\u51fa: Hello<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u8fd9\u4e9b\u65b9\u6cd5\uff0cPython\u63d0\u4f9b\u4e86\u591a\u79cd\u7075\u6d3b\u7684\u65b9\u5f0f\u6765\u8bbf\u95ee\u548c\u5904\u7406\u5b57\u7b26\u4e32\u4e2d\u7684\u5b57\u7b26\u3002\u65e0\u8bba\u662f\u7b80\u5355\u7684\u7d22\u5f15\uff0c\u8fd8\u662f\u590d\u6742\u7684\u5217\u8868\u89e3\u6790\u548c\u6761\u4ef6\u7b5b\u9009\uff0c\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u72ec\u7279\u7684\u4f18\u70b9\uff0c\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u7684\u9700\u6c42\u9009\u62e9\u4f7f\u7528\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u4ece\u5b57\u7b26\u4e32\u4e2d\u9010\u4e2a\u63d0\u53d6\u5b57\u7b26\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u5faa\u73af\u7ed3\u6784\uff08\u5982for\u5faa\u73af\uff09\u6765\u9010\u4e2a\u63d0\u53d6\u5b57\u7b26\u4e32\u4e2d\u7684\u5b57\u7b26\u3002\u4f8b\u5982\uff0c\u4f7f\u7528<code>for char in string<\/code>\u8bed\u6cd5\u53ef\u4ee5\u904d\u5386\u5b57\u7b26\u4e32\u4e2d\u7684\u6bcf\u4e2a\u5b57\u7b26\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\u4ee3\u7801\uff1a  <\/p>\n<pre><code class=\"language-python\">string = &quot;Hello, World!&quot;\nfor char in string:\n    print(char)\n<\/code><\/pre>\n<p>\u8fd9\u6bb5\u4ee3\u7801\u5c06\u9010\u4e2a\u6253\u5370\u51fa\u5b57\u7b26\u4e32\u4e2d\u7684\u6bcf\u4e2a\u5b57\u7b26\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u53ef\u4ee5\u4f7f\u7528\u54ea\u4e9b\u65b9\u6cd5\u6765\u8bbf\u95ee\u5b57\u7b26\u4e32\u7684\u7279\u5b9a\u5b57\u7b26\uff1f<\/strong><br \/>\u9664\u4e86\u5faa\u73af\uff0cPython\u8fd8\u63d0\u4f9b\u4e86\u7d22\u5f15\u6765\u8bbf\u95ee\u5b57\u7b26\u4e32\u4e2d\u7684\u7279\u5b9a\u5b57\u7b26\u3002\u5b57\u7b26\u4e32\u7684\u7d22\u5f15\u4ece0\u5f00\u59cb\uff0c\u56e0\u6b64\u53ef\u4ee5\u4f7f\u7528\u65b9\u62ec\u53f7<code>[]<\/code>\u6765\u83b7\u53d6\u7279\u5b9a\u4f4d\u7f6e\u7684\u5b57\u7b26\u3002\u4f8b\u5982\uff0c<code>string[0]<\/code>\u5c06\u8fd4\u56de\u5b57\u7b26\u4e32\u4e2d\u7684\u7b2c\u4e00\u4e2a\u5b57\u7b26\u3002\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a  <\/p>\n<pre><code class=\"language-python\">string = &quot;Hello&quot;\nprint(string[0])  # \u8f93\u51fa &#39;H&#39;\n<\/code><\/pre>\n<p>\u6b64\u5916\uff0c\u8d1f\u7d22\u5f15\u4e5f\u53ef\u4ee5\u7528\u6765\u4ece\u5b57\u7b26\u4e32\u7684\u672b\u5c3e\u5f00\u59cb\u8bbf\u95ee\u5b57\u7b26\uff0c\u5982<code>string[-1]<\/code>\u5c06\u8fd4\u56de\u6700\u540e\u4e00\u4e2a\u5b57\u7b26\u3002<\/p>\n<p><strong>\u5982\u4f55\u5c06\u5b57\u7b26\u4e32\u4e2d\u7684\u5b57\u7b26\u63d0\u53d6\u5e76\u5b58\u50a8\u5230\u5217\u8868\u4e2d\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\u5c06\u5b57\u7b26\u4e32\u4e2d\u7684\u6bcf\u4e2a\u5b57\u7b26\u63d0\u53d6\u5e76\u5b58\u50a8\u5230\u4e00\u4e2a\u5217\u8868\u4e2d\u3002\u8fd9\u79cd\u65b9\u6cd5\u4e0d\u4ec5\u7b80\u6d01\uff0c\u800c\u4e14\u6613\u4e8e\u7406\u89e3\u3002\u4f8b\u5982\uff1a  <\/p>\n<pre><code class=\"language-python\">string = &quot;Python&quot;\nchar_list = [char for char in string]\nprint(char_list)  # \u8f93\u51fa [&#39;P&#39;, &#39;y&#39;, &#39;t&#39;, &#39;h&#39;, &#39;o&#39;, &#39;n&#39;]\n<\/code><\/pre>\n<p>\u8fd9\u79cd\u65b9\u5f0f\u4f1a\u751f\u6210\u4e00\u4e2a\u5305\u542b\u5b57\u7b26\u4e32\u4e2d\u6240\u6709\u5b57\u7b26\u7684\u5217\u8868\uff0c\u65b9\u4fbf\u540e\u7eed\u64cd\u4f5c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u4f9d\u6b21\u53d6\u5b57\u7b26\u53ef\u4ee5\u4f7f\u7528\u5b57\u7b26\u4e32\u7d22\u5f15\u3001\u5207\u7247\u3001\u5faa\u73af\u548c\u5217\u8868\u89e3\u6790\u7b49\u65b9\u6cd5\u3002\u901a\u8fc7\u5b57\u7b26\u4e32\u7d22\u5f15\uff0c\u53ef\u4ee5\u8f7b\u677e\u8bbf\u95ee\u5b57\u7b26\u4e32\u4e2d [&hellip;]","protected":false},"author":3,"featured_media":960881,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/960875"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=960875"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/960875\/revisions"}],"predecessor-version":[{"id":960882,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/960875\/revisions\/960882"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/960881"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=960875"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=960875"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=960875"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}