{"id":1036609,"date":"2024-12-31T12:08:20","date_gmt":"2024-12-31T04:08:20","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1036609.html"},"modified":"2024-12-31T12:08:22","modified_gmt":"2024-12-31T04:08:22","slug":"python%e5%a6%82%e4%bd%95%e5%88%a4%e6%96%ad%e5%ad%97%e7%ac%a6%e4%b8%b2%e6%98%af%e7%a9%ba","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1036609.html","title":{"rendered":"python\u5982\u4f55\u5224\u65ad\u5b57\u7b26\u4e32\u662f\u7a7a"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2024\/12\/e56c1ed9-8a6a-43c4-bfd5-7c9e7ff9250a.webp?x-oss-process=image\/auto-orient,1\/format,webp\" alt=\"python\u5982\u4f55\u5224\u65ad\u5b57\u7b26\u4e32\u662f\u7a7a\" \/><\/p>\n<p><p> \u4e00\u3001\u5728Python\u4e2d\u5224\u65ad\u5b57\u7b26\u4e32\u662f\u5426\u4e3a\u7a7a\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u51e0\u79cd\u65b9\u6cd5\uff1a<strong>\u76f4\u63a5\u6bd4\u8f83\u6cd5\u3001\u4f7f\u7528<code>len()<\/code>\u51fd\u6570\u3001\u4f7f\u7528<code>not<\/code>\u5173\u952e\u5b57\u3001\u4f7f\u7528<code>strip()<\/code>\u51fd\u6570<\/strong>\u3002\u5176\u4e2d\uff0c\u4f7f\u7528<code>not<\/code>\u5173\u952e\u5b57\u662f\u6700\u7b80\u6d01\u4e14\u9ad8\u6548\u7684\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p>\u76f4\u63a5\u6bd4\u8f83\u6cd5\u662f\u6700\u76f4\u89c2\u7684\u65b9\u5f0f\uff0c\u76f4\u63a5\u5c06\u5b57\u7b26\u4e32\u4e0e\u7a7a\u5b57\u7b26\u4e32\u8fdb\u884c\u6bd4\u8f83\u3002\u5982\u679c\u5b57\u7b26\u4e32\u7b49\u4e8e\u7a7a\u5b57\u7b26\u4e32\uff0c\u5219\u8bf4\u660e\u8be5\u5b57\u7b26\u4e32\u4e3a\u7a7a\u3002\u793a\u4f8b\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">string = &quot;&quot;<\/p>\n<p>if string == &quot;&quot;:<\/p>\n<p>    print(&quot;The string is empty&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;The string is not empty&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u51e0\u79cd\u65b9\u6cd5\u7684\u4f7f\u7528\u573a\u666f\u53ca\u5176\u4f18\u7f3a\u70b9\u3002<\/p>\n<\/p>\n<hr>\n<p><p>\u4e8c\u3001\u76f4\u63a5\u6bd4\u8f83\u6cd5<\/p>\n<\/p>\n<p><p>\u76f4\u63a5\u6bd4\u8f83\u6cd5\u662f\u901a\u8fc7\u5c06\u5b57\u7b26\u4e32\u4e0e\u7a7a\u5b57\u7b26\u4e32\u8fdb\u884c\u6bd4\u8f83\uff0c\u5982\u679c\u76f8\u7b49\u5219\u8bf4\u660e\u8be5\u5b57\u7b26\u4e32\u4e3a\u7a7a\u3002\u8be5\u65b9\u6cd5\u76f4\u89c2\u6613\u61c2\uff0c\u9002\u7528\u4e8e\u521d\u5b66\u8005\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">string = &quot;&quot;<\/p>\n<p>if string == &quot;&quot;:<\/p>\n<p>    print(&quot;The string is empty&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;The string is not empty&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u867d\u7136\u6613\u4e8e\u7406\u89e3\uff0c\u4f46\u7531\u4e8e\u6bcf\u6b21\u90fd\u9700\u8981\u8fdb\u884c\u5b57\u7b26\u4e32\u6bd4\u8f83\uff0c\u5728\u5904\u7406\u5927\u91cf\u5b57\u7b26\u4e32\u65f6\u53ef\u80fd\u4f1a\u7a0d\u5fae\u5f71\u54cd\u6027\u80fd\u3002<\/p>\n<\/p>\n<hr>\n<p><p>\u4e09\u3001\u4f7f\u7528<code>len()<\/code>\u51fd\u6570<\/p>\n<\/p>\n<p><p><code>len()<\/code>\u51fd\u6570\u7528\u4e8e\u8ba1\u7b97\u5b57\u7b26\u4e32\u7684\u957f\u5ea6\uff0c\u5982\u679c\u957f\u5ea6\u4e3a0\uff0c\u5219\u8bf4\u660e\u8be5\u5b57\u7b26\u4e32\u4e3a\u7a7a\u3002\u793a\u4f8b\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">string = &quot;&quot;<\/p>\n<p>if len(string) == 0:<\/p>\n<p>    print(&quot;The string is empty&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;The string is not empty&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u7684\u4f18\u70b9\u662f\u6e05\u6670\u660e\u4e86\uff0c\u4f46\u4e0e\u76f4\u63a5\u6bd4\u8f83\u6cd5\u7c7b\u4f3c\uff0c\u5728\u5904\u7406\u5927\u91cf\u5b57\u7b26\u4e32\u65f6\u6027\u80fd\u8868\u73b0\u4e00\u822c\u3002<\/p>\n<\/p>\n<hr>\n<p><p>\u56db\u3001\u4f7f\u7528<code>not<\/code>\u5173\u952e\u5b57<\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u7a7a\u5b57\u7b26\u4e32\u4f1a\u88ab\u89c6\u4e3a<code>False<\/code>\uff0c\u975e\u7a7a\u5b57\u7b26\u4e32\u4f1a\u88ab\u89c6\u4e3a<code>True<\/code>\u3002\u56e0\u6b64\uff0c\u53ef\u4ee5\u4f7f\u7528<code>not<\/code>\u5173\u952e\u5b57\u6765\u5224\u65ad\u5b57\u7b26\u4e32\u662f\u5426\u4e3a\u7a7a\u3002\u793a\u4f8b\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">string = &quot;&quot;<\/p>\n<p>if not string:<\/p>\n<p>    print(&quot;The string is empty&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;The string is not empty&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u662f\u6700\u7b80\u6d01\u4e14\u9ad8\u6548\u7684\uff0c\u63a8\u8350\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u4f18\u5148\u4f7f\u7528\u3002<\/p>\n<\/p>\n<hr>\n<p><p>\u4e94\u3001\u4f7f\u7528<code>strip()<\/code>\u51fd\u6570<\/p>\n<\/p>\n<p><p><code>strip()<\/code>\u51fd\u6570\u7528\u4e8e\u79fb\u9664\u5b57\u7b26\u4e32\u4e24\u7aef\u7684\u7a7a\u767d\u5b57\u7b26\uff0c\u5982\u679c\u79fb\u9664\u540e\u5b57\u7b26\u4e32\u4e3a\u7a7a\uff0c\u5219\u8bf4\u660e\u8be5\u5b57\u7b26\u4e32\u4e3a\u7a7a\u3002\u793a\u4f8b\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">string = &quot;   &quot;<\/p>\n<p>if not string.strip():<\/p>\n<p>    print(&quot;The string is empty or cont<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>ns only whitespace&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;The string is not empty&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u9700\u8981\u5ffd\u7565\u5b57\u7b26\u4e32\u4e24\u7aef\u7a7a\u767d\u5b57\u7b26\u7684\u573a\u666f\u3002<\/p>\n<\/p>\n<hr>\n<p><p>\u516d\u3001\u6027\u80fd\u6bd4\u8f83<\/p>\n<\/p>\n<p><p>\u4e3a\u4e86\u66f4\u597d\u5730\u7406\u89e3\u4e0a\u8ff0\u51e0\u79cd\u65b9\u6cd5\u7684\u6027\u80fd\u5dee\u5f02\uff0c\u6211\u4eec\u53ef\u4ee5\u8fdb\u884c\u7b80\u5355\u7684\u6027\u80fd\u6d4b\u8bd5\u3002\u4ee5\u4e0b\u662f\u4f7f\u7528<code>timeit<\/code>\u6a21\u5757\u5bf9\u51e0\u79cd\u65b9\u6cd5\u8fdb\u884c\u6027\u80fd\u6d4b\u8bd5\u7684\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import timeit<\/p>\n<h2><strong>Test strings<\/strong><\/h2>\n<p>empty_string = &quot;&quot;<\/p>\n<p>non_empty_string = &quot;Python&quot;<\/p>\n<h2><strong>Direct comparison<\/strong><\/h2>\n<p>print(timeit.timeit(&#39;empty_string == &quot;&quot;&#39;, globals=globals(), number=1000000))<\/p>\n<p>print(timeit.timeit(&#39;non_empty_string == &quot;&quot;&#39;, globals=globals(), number=1000000))<\/p>\n<h2><strong>Using len()<\/strong><\/h2>\n<p>print(timeit.timeit(&#39;len(empty_string) == 0&#39;, globals=globals(), number=1000000))<\/p>\n<p>print(timeit.timeit(&#39;len(non_empty_string) == 0&#39;, globals=globals(), number=1000000))<\/p>\n<h2><strong>Using not<\/strong><\/h2>\n<p>print(timeit.timeit(&#39;not empty_string&#39;, globals=globals(), number=1000000))<\/p>\n<p>print(timeit.timeit(&#39;not non_empty_string&#39;, globals=globals(), number=1000000))<\/p>\n<h2><strong>Using strip()<\/strong><\/h2>\n<p>print(timeit.timeit(&#39;not empty_string.strip()&#39;, globals=globals(), number=1000000))<\/p>\n<p>print(timeit.timeit(&#39;not non_empty_string.strip()&#39;, globals=globals(), number=1000000))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u6d4b\u8bd5\uff0c\u6211\u4eec\u53ef\u4ee5\u53d1\u73b0\u4f7f\u7528<code>not<\/code>\u5173\u952e\u5b57\u7684\u65b9\u6cd5\u5728\u6027\u80fd\u4e0a\u8868\u73b0\u6700\u4f18\u3002<\/p>\n<\/p>\n<hr>\n<p><p>\u4e03\u3001\u5b9e\u9645\u5e94\u7528\u573a\u666f<\/p>\n<\/p>\n<ol>\n<li><strong>\u6570\u636e\u6e05\u6d17<\/strong>\uff1a\u5728\u6570\u636e\u5904\u7406\u8fc7\u7a0b\u4e2d\uff0c\u7ecf\u5e38\u9700\u8981\u68c0\u67e5\u5b57\u7b26\u4e32\u662f\u5426\u4e3a\u7a7a\uff0c\u4ee5\u4fbf\u8fc7\u6ee4\u6389\u65e0\u6548\u6570\u636e\u3002\u4f8b\u5982\uff0c\u5728\u5904\u7406\u7528\u6237\u8f93\u5165\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528<code>not<\/code>\u5173\u952e\u5b57\u6765\u5224\u65ad\u8f93\u5165\u662f\u5426\u4e3a\u7a7a\uff0c\u4ece\u800c\u63d0\u9192\u7528\u6237\u91cd\u65b0\u8f93\u5165\u3002<\/li>\n<li><strong>\u6587\u4ef6\u5904\u7406<\/strong>\uff1a\u5728\u8bfb\u53d6\u6587\u4ef6\u5185\u5bb9\u65f6\uff0c\u9700\u8981\u5224\u65ad\u6bcf\u884c\u662f\u5426\u4e3a\u7a7a\uff0c\u4ee5\u4fbf\u5ffd\u7565\u7a7a\u884c\u3002\u4f8b\u5982\uff0c\u5728\u5904\u7406\u65e5\u5fd7\u6587\u4ef6\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528<code>strip()<\/code>\u51fd\u6570\u6765\u5224\u65ad\u6bcf\u884c\u662f\u5426\u4e3a\u7a7a\u6216\u4ec5\u5305\u542b\u7a7a\u767d\u5b57\u7b26\uff0c\u4ece\u800c\u8fc7\u6ee4\u6389\u65e0\u7528\u7684\u884c\u3002<\/li>\n<li><strong>API\u8bf7\u6c42<\/strong>\uff1a\u5728\u5904\u7406API\u8bf7\u6c42\u65f6\uff0c\u9700\u8981\u5224\u65ad\u8bf7\u6c42\u53c2\u6570\u662f\u5426\u4e3a\u7a7a\uff0c\u4ee5\u4fbf\u8fdb\u884c\u76f8\u5e94\u7684\u5904\u7406\u3002\u4f8b\u5982\uff0c\u5728\u5904\u7406\u7528\u6237\u6ce8\u518c\u8bf7\u6c42\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528<code>len()<\/code>\u51fd\u6570\u6765\u5224\u65ad\u7528\u6237\u540d\u548c\u5bc6\u7801\u662f\u5426\u4e3a\u7a7a\uff0c\u4ece\u800c\u63d0\u793a\u7528\u6237\u586b\u5199\u5b8c\u6574\u4fe1\u606f\u3002<\/li>\n<\/ol>\n<hr>\n<p><p>\u516b\u3001\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u5224\u65ad\u5b57\u7b26\u4e32\u662f\u5426\u4e3a\u7a7a\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff0c\u5305\u62ec\u76f4\u63a5\u6bd4\u8f83\u6cd5\u3001\u4f7f\u7528<code>len()<\/code>\u51fd\u6570\u3001\u4f7f\u7528<code>not<\/code>\u5173\u952e\u5b57\u548c\u4f7f\u7528<code>strip()<\/code>\u51fd\u6570\u7b49\u3002\u5176\u4e2d\uff0c<strong>\u4f7f\u7528<code>not<\/code>\u5173\u952e\u5b57\u662f\u6700\u7b80\u6d01\u4e14\u9ad8\u6548\u7684\u65b9\u6cd5<\/strong>\uff0c\u63a8\u8350\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u4f18\u5148\u4f7f\u7528\u3002\u901a\u8fc7\u6027\u80fd\u6bd4\u8f83\u548c\u5b9e\u9645\u5e94\u7528\u573a\u666f\u7684\u5206\u6790\uff0c\u6211\u4eec\u53ef\u4ee5\u66f4\u52a0\u6e05\u6670\u5730\u7406\u89e3\u8fd9\u4e9b\u65b9\u6cd5\u7684\u4f18\u7f3a\u70b9\uff0c\u5e76\u5728\u4e0d\u540c\u573a\u666f\u4e2d\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5f00\u53d1\u4e2d\uff0c\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u5224\u65ad\u65b9\u6cd5\uff0c\u80fd\u591f\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u6267\u884c\u6548\u7387\u3002\u5e0c\u671b\u901a\u8fc7\u672c\u6587\u7684\u4ecb\u7ecd\uff0c\u80fd\u591f\u5e2e\u52a9\u5927\u5bb6\u66f4\u597d\u5730\u638c\u63e1Python\u5b57\u7b26\u4e32\u5224\u65ad\u7684\u6280\u5de7\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u68c0\u67e5\u5b57\u7b26\u4e32\u662f\u5426\u4e3a\u7a7a\uff1f<\/strong><br \/>\u8981\u68c0\u67e5\u4e00\u4e2a\u5b57\u7b26\u4e32\u662f\u5426\u4e3a\u7a7a\uff0c\u53ef\u4ee5\u4f7f\u7528\u7b80\u5355\u7684\u6761\u4ef6\u8bed\u53e5\u3002Python\u4e2d\uff0c\u7a7a\u5b57\u7b26\u4e32\u88ab\u8ba4\u4e3a\u662fFalse\uff0c\u56e0\u6b64\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528if\u8bed\u53e5\u3002\u4f8b\u5982\uff1a  <\/p>\n<pre><code class=\"language-python\">my_string = &quot;&quot;\nif not my_string:\n    print(&quot;\u5b57\u7b26\u4e32\u662f\u7a7a\u7684&quot;)\n<\/code><\/pre>\n<p>\u8fd9\u79cd\u65b9\u6cd5\u7b80\u6d01\u660e\u4e86\uff0c\u9002\u7528\u4e8e\u6240\u6709\u60c5\u51b5\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\uff0c\u5982\u4f55\u53bb\u9664\u5b57\u7b26\u4e32\u7684\u7a7a\u767d\u5e76\u68c0\u67e5\u662f\u5426\u4e3a\u7a7a\uff1f<\/strong><br \/>\u6709\u65f6\u5b57\u7b26\u4e32\u53ef\u80fd\u5305\u542b\u7a7a\u767d\u5b57\u7b26\uff0c\u4f8b\u5982\u7a7a\u683c\u3001\u5236\u8868\u7b26\u6216\u6362\u884c\u7b26\u3002\u53ef\u4ee5\u4f7f\u7528<code>strip()<\/code>\u65b9\u6cd5\u53bb\u9664\u8fd9\u4e9b\u7a7a\u767d\uff0c\u7136\u540e\u518d\u8fdb\u884c\u68c0\u67e5\uff1a  <\/p>\n<pre><code class=\"language-python\">my_string = &quot;   &quot;\nif not my_string.strip():\n    print(&quot;\u5b57\u7b26\u4e32\u662f\u7a7a\u7684\u6216\u53ea\u5305\u542b\u7a7a\u767d&quot;)\n<\/code><\/pre>\n<p>\u8fd9\u79cd\u65b9\u6cd5\u786e\u4fdd\u4e86\u5373\u4f7f\u5b57\u7b26\u4e32\u53ea\u5305\u542b\u7a7a\u767d\u5b57\u7b26\uff0c\u4e5f\u80fd\u6b63\u786e\u5224\u65ad\u5176\u4e3a\u7a7a\u3002<\/p>\n<p><strong>\u4f7f\u7528Python\u7684\u5185\u7f6e\u51fd\u6570\u5224\u65ad\u5b57\u7b26\u4e32\u662f\u5426\u4e3a\u7a7a\u7684\u6700\u4f73\u5b9e\u8df5\u662f\u4ec0\u4e48\uff1f<\/strong><br \/>\u4f7f\u7528Python\u7684<code>len()<\/code>\u51fd\u6570\u4e5f\u662f\u4e00\u79cd\u5224\u65ad\u5b57\u7b26\u4e32\u662f\u5426\u4e3a\u7a7a\u7684\u65b9\u6cd5\u3002\u901a\u8fc7\u68c0\u67e5\u5b57\u7b26\u4e32\u7684\u957f\u5ea6\u662f\u5426\u4e3a\u96f6\uff0c\u53ef\u4ee5\u5f97\u5230\u76f8\u540c\u7684\u7ed3\u679c\uff1a  <\/p>\n<pre><code class=\"language-python\">my_string = &quot;Hello&quot;\nif len(my_string) == 0:\n    print(&quot;\u5b57\u7b26\u4e32\u662f\u7a7a\u7684&quot;)\n<\/code><\/pre>\n<p>\u4e0d\u8fc7\uff0c\u63a8\u8350\u4f7f\u7528\u76f4\u63a5\u7684\u5e03\u5c14\u5224\u65ad\u65b9\u5f0f\uff0c\u56e0\u4e3a\u5b83\u66f4\u7b80\u6d01\u4e14\u6613\u4e8e\u9605\u8bfb\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u4e00\u3001\u5728Python\u4e2d\u5224\u65ad\u5b57\u7b26\u4e32\u662f\u5426\u4e3a\u7a7a\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u51e0\u79cd\u65b9\u6cd5\uff1a\u76f4\u63a5\u6bd4\u8f83\u6cd5\u3001\u4f7f\u7528len()\u51fd\u6570\u3001\u4f7f\u7528not\u5173\u952e\u5b57 [&hellip;]","protected":false},"author":3,"featured_media":1036614,"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\/1036609"}],"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=1036609"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1036609\/revisions"}],"predecessor-version":[{"id":1036616,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1036609\/revisions\/1036616"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1036614"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1036609"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1036609"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1036609"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}