{"id":1104504,"date":"2025-01-08T16:21:21","date_gmt":"2025-01-08T08:21:21","guid":{"rendered":""},"modified":"2025-01-08T16:21:24","modified_gmt":"2025-01-08T08:21:24","slug":"python3%e4%b8%ad%e5%ad%97%e7%ac%a6%e4%b8%b2%e5%a6%82%e4%bd%95%e6%af%94%e8%be%83","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1104504.html","title":{"rendered":"python3\u4e2d\u5b57\u7b26\u4e32\u5982\u4f55\u6bd4\u8f83"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25065835\/5aa88207-b3b1-4371-9ac8-32889982ba01.webp\" alt=\"python3\u4e2d\u5b57\u7b26\u4e32\u5982\u4f55\u6bd4\u8f83\" \/><\/p>\n<p><p> <strong>Python3\u4e2d\u5b57\u7b26\u4e32\u6bd4\u8f83\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528\u5173\u7cfb\u8fd0\u7b97\u7b26\u3001\u4f7f\u7528\u5185\u7f6e\u51fd\u6570\u3001\u5ffd\u7565\u5927\u5c0f\u5199\u6bd4\u8f83\u3001\u5bf9\u6bd4\u5b57\u7b26\u4e32\u957f\u5ea6\u3001\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u7b49<\/strong>\u3002\u5176\u4e2d\uff0c\u6700\u5e38\u7528\u7684\u662f\u4f7f\u7528\u5173\u7cfb\u8fd0\u7b97\u7b26\uff0c\u80fd\u591f\u76f4\u63a5\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\u7684\u5b57\u5178\u5e8f\u3002<strong>\u5173\u7cfb\u8fd0\u7b97\u7b26\u5305\u62ec\uff1a<code>==<\/code>\u3001<code>!=<\/code>\u3001<code>&gt;<\/code>\u3001<code>&lt;<\/code>\u3001<code>&gt;=<\/code>\u3001<code>&lt;=<\/code><\/strong>\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528 <code>==<\/code> \u68c0\u67e5\u4e24\u4e2a\u5b57\u7b26\u4e32\u662f\u5426\u76f8\u7b49\uff0c\u4f7f\u7528 <code>&lt;<\/code> \u548c <code>&gt;<\/code> \u68c0\u67e5\u5b57\u7b26\u4e32\u7684\u5b57\u5178\u5e8f\u3002\u5982\u679c\u9700\u8981\u5ffd\u7565\u5927\u5c0f\u5199\u6bd4\u8f83\uff0c\u53ef\u4ee5\u5148\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u540c\u4e00\u5927\u5c0f\u5199\u3002\u4ee5\u4e0b\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u4e9b\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5173\u7cfb\u8fd0\u7b97\u7b26\u6bd4\u8f83<\/h3>\n<\/p>\n<p><p>\u5728Python3\u4e2d\uff0c\u5b57\u7b26\u4e32\u53ef\u4ee5\u901a\u8fc7\u5173\u7cfb\u8fd0\u7b97\u7b26\u76f4\u63a5\u8fdb\u884c\u6bd4\u8f83\u3002\u8fd9\u4e9b\u8fd0\u7b97\u7b26\u5305\u62ec\uff1a<code>==<\/code>\u3001<code>!=<\/code>\u3001<code>&gt;<\/code>\u3001<code>&lt;<\/code>\u3001<code>&gt;=<\/code>\u3001<code>&lt;=<\/code>\u3002\u5173\u7cfb\u8fd0\u7b97\u7b26\u6bd4\u8f83\u7684\u4f9d\u636e\u662f\u5b57\u7b26\u4e32\u7684\u5b57\u5178\u5e8f\u3002<\/p>\n<\/p>\n<p><h4>1. <code>==<\/code> \u548c <code>!=<\/code><\/h4>\n<\/p>\n<p><p><code>==<\/code> \u7528\u4e8e\u68c0\u67e5\u4e24\u4e2a\u5b57\u7b26\u4e32\u662f\u5426\u76f8\u7b49\uff0c<code>!=<\/code> \u7528\u4e8e\u68c0\u67e5\u4e24\u4e2a\u5b57\u7b26\u4e32\u662f\u5426\u4e0d\u76f8\u7b49\u3002\u4e24\u8005\u7684\u6bd4\u8f83\u90fd\u533a\u5206\u5927\u5c0f\u5199\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">str1 = &quot;apple&quot;<\/p>\n<p>str2 = &quot;Apple&quot;<\/p>\n<p>str3 = &quot;apple&quot;<\/p>\n<p>print(str1 == str2)  # \u8f93\u51fa: False<\/p>\n<p>print(str1 == str3)  # \u8f93\u51fa: True<\/p>\n<p>print(str1 != str2)  # \u8f93\u51fa: True<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u4f8b\u5b50\u4e2d\uff0c<code>str1<\/code> \u548c <code>str2<\/code> \u56e0\u4e3a\u5927\u5c0f\u5199\u4e0d\u540c\uff0c<code>==<\/code> \u8fd0\u7b97\u7ed3\u679c\u4e3a <code>False<\/code>\u3002\u800c <code>str1<\/code> \u548c <code>str3<\/code> \u56e0\u4e3a\u5b8c\u5168\u76f8\u540c\uff0c<code>==<\/code> \u8fd0\u7b97\u7ed3\u679c\u4e3a <code>True<\/code>\u3002<\/p>\n<\/p>\n<p><h4>2. <code>&gt;<\/code>\u3001<code>&lt;<\/code>\u3001<code>&gt;=<\/code>\u3001<code>&lt;=<\/code><\/h4>\n<\/p>\n<p><p>\u8fd9\u4e9b\u8fd0\u7b97\u7b26\u7528\u4e8e\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\u7684\u5b57\u5178\u5e8f\u3002\u5b57\u5178\u5e8f\u57fa\u4e8e\u5b57\u7b26\u7684Unicode\u7801\u70b9\u987a\u5e8f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">str1 = &quot;apple&quot;<\/p>\n<p>str2 = &quot;banana&quot;<\/p>\n<p>str3 = &quot;Apple&quot;<\/p>\n<p>print(str1 &gt; str2)   # \u8f93\u51fa: False<\/p>\n<p>print(str1 &lt; str2)   # \u8f93\u51fa: True<\/p>\n<p>print(str1 &gt;= str3)  # \u8f93\u51fa: True<\/p>\n<p>print(str1 &lt;= str3)  # \u8f93\u51fa: False<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u4f8b\u5b50\u4e2d\uff0c<code>str1<\/code> \u6bd4 <code>str2<\/code> \u7684\u5b57\u5178\u5e8f\u5c0f\uff0c\u56e0\u6b64 <code>str1 &lt; str2<\/code> \u4e3a <code>True<\/code>\u3002\u7531\u4e8e\u5c0f\u5199\u5b57\u6bcd\u7684Unicode\u7801\u70b9\u6bd4\u5927\u5199\u5b57\u6bcd\u5927\uff0c\u6240\u4ee5 <code>str1 &gt;= str3<\/code> \u4e3a <code>True<\/code>\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u5ffd\u7565\u5927\u5c0f\u5199\u6bd4\u8f83<\/h3>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u5e0c\u671b\u6bd4\u8f83\u5b57\u7b26\u4e32\u65f6\u5ffd\u7565\u5927\u5c0f\u5199\u3002\u53ef\u4ee5\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u540c\u4e00\u5927\u5c0f\u5199\uff08\u5982\u5168\u5c0f\u5199\u6216\u5168\u5927\u5199\uff09\u518d\u8fdb\u884c\u6bd4\u8f83\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">str1 = &quot;apple&quot;<\/p>\n<p>str2 = &quot;Apple&quot;<\/p>\n<p>str3 = &quot;APPLE&quot;<\/p>\n<p>print(str1.lower() == str2.lower())  # \u8f93\u51fa: True<\/p>\n<p>print(str1.upper() == str3.upper())  # \u8f93\u51fa: True<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u8c03\u7528\u5b57\u7b26\u4e32\u65b9\u6cd5 <code>lower()<\/code> \u6216 <code>upper()<\/code> \u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u540c\u4e00\u5927\u5c0f\u5199\uff0c\u518d\u8fdb\u884c\u6bd4\u8f83\uff0c\u80fd\u591f\u5ffd\u7565\u5927\u5c0f\u5199\u7684\u5dee\u5f02\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528\u5185\u7f6e\u51fd\u6570\u6bd4\u8f83<\/h3>\n<\/p>\n<p><p>Python3 \u63d0\u4f9b\u4e86\u5185\u7f6e\u51fd\u6570 <code>cmp_to_key<\/code>\uff0c\u53ef\u4ee5\u7528\u4e8e\u81ea\u5b9a\u4e49\u6392\u5e8f\u89c4\u5219\u7684\u5b57\u7b26\u4e32\u6bd4\u8f83\u3002<code>cmp_to_key<\/code> \u5728 <code>functools<\/code> \u6a21\u5757\u4e2d\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from functools import cmp_to_key<\/p>\n<p>def compare_str(str1, str2):<\/p>\n<p>    if str1.lower() &lt; str2.lower():<\/p>\n<p>        return -1<\/p>\n<p>    elif str1.lower() &gt; str2.lower():<\/p>\n<p>        return 1<\/p>\n<p>    else:<\/p>\n<p>        return 0<\/p>\n<p>str_list = [&quot;apple&quot;, &quot;Banana&quot;, &quot;orange&quot;, &quot;Apple&quot;]<\/p>\n<p>sorted_list = sorted(str_list, key=cmp_to_key(compare_str))<\/p>\n<p>print(sorted_list)  # \u8f93\u51fa: [&#39;apple&#39;, &#39;Apple&#39;, &#39;Banana&#39;, &#39;orange&#39;]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u4f8b\u5b50\u4e2d\uff0c<code>compare_str<\/code> \u51fd\u6570\u7528\u4e8e\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\uff0c<code>sorted<\/code> \u51fd\u6570\u901a\u8fc7 <code>cmp_to_key<\/code> \u5c06\u81ea\u5b9a\u4e49\u6bd4\u8f83\u89c4\u5219\u5e94\u7528\u4e8e\u6392\u5e8f\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u5bf9\u6bd4\u5b57\u7b26\u4e32\u957f\u5ea6<\/h3>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u53ef\u4ee5\u901a\u8fc7\u6bd4\u8f83\u5b57\u7b26\u4e32\u7684\u957f\u5ea6\u6765\u5224\u65ad\u5176\u5173\u7cfb\u3002<code>len()<\/code> \u51fd\u6570\u53ef\u4ee5\u83b7\u53d6\u5b57\u7b26\u4e32\u7684\u957f\u5ea6\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">str1 = &quot;apple&quot;<\/p>\n<p>str2 = &quot;banana&quot;<\/p>\n<p>if len(str1) &gt; len(str2):<\/p>\n<p>    print(f&quot;{str1} is longer than {str2}&quot;)<\/p>\n<p>elif len(str1) &lt; len(str2):<\/p>\n<p>    print(f&quot;{str1} is shorter than {str2}&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(f&quot;{str1} and {str2} are of the same length&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u4f8b\u5b50\u4e2d\uff0c\u901a\u8fc7\u6bd4\u8f83 <code>str1<\/code> \u548c <code>str2<\/code> \u7684\u957f\u5ea6\uff0c\u5224\u65ad\u5176\u5173\u7cfb\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u6bd4\u8f83<\/h3>\n<\/p>\n<p><p>\u5728\u4e00\u4e9b\u9ad8\u7ea7\u5e94\u7528\u573a\u666f\u4e2d\uff0c\u6b63\u5219\u8868\u8fbe\u5f0f\u53ef\u4ee5\u7528\u4e8e\u590d\u6742\u7684\u5b57\u7b26\u4e32\u6bd4\u8f83\u548c\u5339\u914d\u3002<code>re<\/code> \u6a21\u5757\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u6b63\u5219\u8868\u8fbe\u5f0f\u529f\u80fd\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>pattern = r&quot;apple&quot;<\/p>\n<p>str1 = &quot;I have an apple&quot;<\/p>\n<p>str2 = &quot;I have a banana&quot;<\/p>\n<p>if re.search(pattern, str1):<\/p>\n<p>    print(f&quot;The pattern &#39;{pattern}&#39; is found in &#39;{str1}&#39;&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(f&quot;The pattern &#39;{pattern}&#39; is not found in &#39;{str1}&#39;&quot;)<\/p>\n<p>if re.search(pattern, str2):<\/p>\n<p>    print(f&quot;The pattern &#39;{pattern}&#39; is found in &#39;{str2}&#39;&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(f&quot;The pattern &#39;{pattern}&#39; is not found in &#39;{str2}&#39;&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u4f8b\u5b50\u4e2d\uff0c\u901a\u8fc7 <code>re.search<\/code> \u51fd\u6570\u67e5\u627e\u5b57\u7b26\u4e32\u4e2d\u662f\u5426\u5305\u542b\u7279\u5b9a\u6a21\u5f0f\u3002<\/p>\n<\/p>\n<p><h3>\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5728Python3\u4e2d\uff0c\u5b57\u7b26\u4e32\u6bd4\u8f83\u7684\u65b9\u6cd5\u591a\u79cd\u591a\u6837\u3002\u4f7f\u7528\u5173\u7cfb\u8fd0\u7b97\u7b26\u662f\u6700\u76f4\u63a5\u548c\u5e38\u7528\u7684\u65b9\u6cd5\uff0c\u9002\u5408\u5927\u591a\u6570\u7b80\u5355\u6bd4\u8f83\u573a\u666f\u3002\u5bf9\u4e8e\u5ffd\u7565\u5927\u5c0f\u5199\u7684\u6bd4\u8f83\uff0c\u53ef\u4ee5\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u540c\u4e00\u5927\u5c0f\u5199\u3002\u5185\u7f6e\u51fd\u6570 <code>cmp_to_key<\/code> \u53ef\u4ee5\u7528\u4e8e\u81ea\u5b9a\u4e49\u6bd4\u8f83\u89c4\u5219\u3002\u5bf9\u4e8e\u7279\u6b8a\u573a\u666f\uff0c\u53ef\u4ee5\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u8fdb\u884c\u590d\u6742\u7684\u5b57\u7b26\u4e32\u5339\u914d\u548c\u6bd4\u8f83\u3002\u901a\u8fc7\u5408\u7406\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\uff0c\u53ef\u4ee5\u6ee1\u8db3\u4e0d\u540c\u5e94\u7528\u573a\u666f\u7684\u9700\u6c42\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5728Python3\u4e2d\uff0c\u5b57\u7b26\u4e32\u6bd4\u8f83\u7684\u57fa\u672c\u89c4\u5219\u662f\u4ec0\u4e48\uff1f<\/strong><br \/>\u5728Python3\u4e2d\uff0c\u5b57\u7b26\u4e32\u6bd4\u8f83\u662f\u57fa\u4e8e\u5b57\u5178\u5e8f\uff08lexicographical order\uff09\u8fdb\u884c\u7684\u3002\u6bd4\u8f83\u65f6\uff0cPython\u4f1a\u9010\u4e2a\u5b57\u7b26\u8fdb\u884c\u6bd4\u8f83\uff0c\u76f4\u5230\u627e\u5230\u4e0d\u540c\u7684\u5b57\u7b26\u4e3a\u6b62\u3002\u5982\u679c\u4e00\u4e2a\u5b57\u7b26\u4e32\u5728\u5b57\u5178\u5e8f\u4e2d\u4f4d\u4e8e\u53e6\u4e00\u4e2a\u5b57\u7b26\u4e32\u4e4b\u524d\uff0c\u5219\u8fd4\u56deTrue\u3002\u6bd4\u8f83\u65f6\uff0c\u5b57\u7b26\u7684ASCII\u503c\u88ab\u7528\u4e8e\u786e\u5b9a\u987a\u5e8f\uff0c\u56e0\u6b64\u5927\u5199\u5b57\u6bcd\u4f1a\u5728\u5c0f\u5199\u5b57\u6bcd\u4e4b\u524d\u3002<\/p>\n<p><strong>\u5982\u4f55\u4f7f\u7528Python3\u4e2d\u7684\u5185\u7f6e\u51fd\u6570\u6765\u6bd4\u8f83\u5b57\u7b26\u4e32\uff1f<\/strong><br \/>Python3\u63d0\u4f9b\u4e86\u591a\u79cd\u65b9\u5f0f\u6765\u6bd4\u8f83\u5b57\u7b26\u4e32\u3002\u6700\u5e38\u7528\u7684\u65b9\u5f0f\u5305\u62ec\u4f7f\u7528\u8fd0\u7b97\u7b26\uff08\u5982<code>==<\/code>, <code>!=<\/code>, <code>&lt;<\/code>, <code>&gt;<\/code>, <code>&lt;=<\/code>, <code>&gt;=<\/code>\uff09\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528<code>str.compare()<\/code>\u7b49\u65b9\u6cd5\u6765\u5b9e\u73b0\u66f4\u590d\u6742\u7684\u6bd4\u8f83\u3002\u4f7f\u7528\u8fd0\u7b97\u7b26\u65f6\uff0c\u53ef\u4ee5\u76f4\u63a5\u5bf9\u5b57\u7b26\u4e32\u8fdb\u884c\u6bd4\u8f83\uff0c\u8fd4\u56de\u5e03\u5c14\u503c\uff0c\u6307\u793a\u6bd4\u8f83\u7ed3\u679c\u3002<\/p>\n<p><strong>\u5728\u8fdb\u884c\u5b57\u7b26\u4e32\u6bd4\u8f83\u65f6\uff0c\u662f\u5426\u533a\u5206\u5927\u5c0f\u5199\uff1f<\/strong><br \/>\u662f\u7684\uff0c\u5728Python3\u4e2d\uff0c\u5b57\u7b26\u4e32\u6bd4\u8f83\u662f\u533a\u5206\u5927\u5c0f\u5199\u7684\u3002\u4f8b\u5982\uff0c<code>&quot;abc&quot;<\/code>\u4e0e<code>&quot;ABC&quot;<\/code>\u7684\u6bd4\u8f83\u7ed3\u679c\u4e3a<code>False<\/code>\uff0c\u56e0\u4e3a\u5c0f\u5199\u5b57\u6bcd\u7684ASCII\u503c\u4f4e\u4e8e\u5bf9\u5e94\u7684\u5927\u5199\u5b57\u6bcd\u3002\u5982\u679c\u9700\u8981\u8fdb\u884c\u4e0d\u533a\u5206\u5927\u5c0f\u5199\u7684\u6bd4\u8f83\uff0c\u53ef\u4ee5\u5c06\u5b57\u7b26\u4e32\u90fd\u8f6c\u6362\u4e3a\u540c\u4e00\u5927\u5c0f\u5199\u683c\u5f0f\uff08\u4f7f\u7528<code>str.lower()<\/code>\u6216<code>str.upper()<\/code>\uff09\u540e\u518d\u8fdb\u884c\u6bd4\u8f83\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python3\u4e2d\u5b57\u7b26\u4e32\u6bd4\u8f83\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528\u5173\u7cfb\u8fd0\u7b97\u7b26\u3001\u4f7f\u7528\u5185\u7f6e\u51fd\u6570\u3001\u5ffd\u7565\u5927\u5c0f\u5199\u6bd4\u8f83\u3001\u5bf9\u6bd4\u5b57\u7b26\u4e32\u957f\u5ea6\u3001\u4f7f\u7528\u6b63\u5219\u8868 [&hellip;]","protected":false},"author":3,"featured_media":1104510,"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\/1104504"}],"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=1104504"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1104504\/revisions"}],"predecessor-version":[{"id":1104515,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1104504\/revisions\/1104515"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1104510"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1104504"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1104504"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1104504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}