{"id":1071668,"date":"2025-01-08T11:09:17","date_gmt":"2025-01-08T03:09:17","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1071668.html"},"modified":"2025-01-08T11:09:19","modified_gmt":"2025-01-08T03:09:19","slug":"python%e5%a6%82%e4%bd%95%e5%8e%bb%e6%8e%89%e6%95%b0%e5%ad%97%e5%89%8d%e9%9d%a2%e7%9a%84%e9%9b%b6-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1071668.html","title":{"rendered":"python\u5982\u4f55\u53bb\u6389\u6570\u5b57\u524d\u9762\u7684\u96f6"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25102116\/7dec5150-8e62-4df1-be26-469533daf179.webp\" alt=\"python\u5982\u4f55\u53bb\u6389\u6570\u5b57\u524d\u9762\u7684\u96f6\" \/><\/p>\n<p><p> <strong>\u53bb\u6389\u6570\u5b57\u524d\u9762\u7684\u96f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u5b57\u7b26\u4e32\u65b9\u6cd5\u3001\u6574\u6570\u8f6c\u6362\u65b9\u6cd5\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u65b9\u6cd5<\/strong>\uff0c\u5176\u4e2d\u6700\u7b80\u5355\u548c\u76f4\u63a5\u7684\u65b9\u6cd5\u662f\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6574\u6570\u518d\u8f6c\u6362\u56de\u5b57\u7b26\u4e32\uff0c\u8fd9\u6837\u4f1a\u81ea\u52a8\u53bb\u6389\u524d\u5bfc\u96f6\u3002\u4e0b\u9762\u6211\u4eec\u8be6\u7ec6\u4ecb\u7ecd\u4e09\u79cd\u65b9\u6cd5\u4e2d\u7684\u4e00\u79cd\uff1a<strong>\u4f7f\u7528\u6574\u6570\u8f6c\u6362\u7684\u65b9\u6cd5<\/strong>\u3002\u901a\u8fc7\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6574\u6570\uff0cPython\u4f1a\u81ea\u52a8\u53bb\u6389\u6570\u5b57\u524d\u9762\u7684\u96f6\u3002\u7136\u540e\u518d\u628a\u6574\u6570\u8f6c\u6362\u56de\u5b57\u7b26\u4e32\uff0c\u5c31\u80fd\u5f97\u5230\u53bb\u6389\u524d\u5bfc\u96f6\u7684\u7ed3\u679c\u3002\u4ee5\u4e0b\u662f\u8be6\u7ec6\u7684\u4ee3\u7801\u793a\u4f8b\u548c\u89e3\u91ca\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">number_str = &quot;001234&quot;<\/p>\n<p>number_int = int(number_str)  # \u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6574\u6570<\/p>\n<p>cleaned_number_str = str(number_int)  # \u5c06\u6574\u6570\u8f6c\u6362\u56de\u5b57\u7b26\u4e32<\/p>\n<p>print(cleaned_number_str)  # \u8f93\u51fa\u7ed3\u679c\uff1a1234<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u7b80\u5355\u76f4\u63a5\uff0c\u5e76\u4e14\u9002\u7528\u4e8e\u5927\u591a\u6570\u60c5\u51b5\u4e0b\u7684\u524d\u5bfc\u96f6\u53bb\u9664\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5b57\u7b26\u4e32\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528\u5b57\u7b26\u4e32\u65b9\u6cd5\u53bb\u6389\u524d\u5bfc\u96f6\uff0c\u53ef\u4ee5\u901a\u8fc7Python\u5185\u7f6e\u7684\u5b57\u7b26\u4e32\u65b9\u6cd5<code>lstrip()<\/code>\u6765\u5b9e\u73b0\u3002\u8fd9\u4e2a\u65b9\u6cd5\u53ef\u4ee5\u5220\u9664\u5b57\u7b26\u4e32\u5f00\u5934\u7684\u6307\u5b9a\u5b57\u7b26\uff0c\u9ed8\u8ba4\u5220\u9664\u7a7a\u767d\u5b57\u7b26\uff0c\u4f46\u4e5f\u53ef\u4ee5\u6307\u5b9a\u5220\u9664\u96f6\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">number_str = &quot;001234&quot;<\/p>\n<p>cleaned_number_str = number_str.lstrip(&#39;0&#39;)  # \u5220\u9664\u524d\u5bfc\u96f6<\/p>\n<p>print(cleaned_number_str)  # \u8f93\u51fa\u7ed3\u679c\uff1a1234<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u7b80\u5355\u6613\u7528\uff0c\u4f46\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u5982\u679c\u5b57\u7b26\u4e32\u5168\u662f\u96f6\uff0c\u90a3\u4e48<code>lstrip(&#39;0&#39;)<\/code>\u4f1a\u8fd4\u56de\u4e00\u4e2a\u7a7a\u5b57\u7b26\u4e32\u3002\u4e3a\u4e86\u907f\u514d\u8fd9\u79cd\u60c5\u51b5\uff0c\u53ef\u4ee5\u5728\u4f7f\u7528<code>lstrip()<\/code>\u540e\u8fdb\u884c\u7279\u6b8a\u5904\u7406\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">number_str = &quot;0000&quot;<\/p>\n<p>cleaned_number_str = number_str.lstrip(&#39;0&#39;) or &#39;0&#39;  # \u5904\u7406\u5168\u96f6\u60c5\u51b5<\/p>\n<p>print(cleaned_number_str)  # \u8f93\u51fa\u7ed3\u679c\uff1a0<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u7b80\u5355\u5b57\u7b26\u4e32\u7684\u5904\u7406\uff0c\u4f46\u5728\u5904\u7406\u590d\u6742\u60c5\u51b5\u65f6\uff0c\u53ef\u80fd\u9700\u8981\u7ed3\u5408\u5176\u4ed6\u65b9\u6cd5\u4f7f\u7528\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>\u6b63\u5219\u8868\u8fbe\u5f0f\u65b9\u6cd5\u662f\u4e00\u79cd\u5f3a\u5927\u4e14\u7075\u6d3b\u7684\u5b57\u7b26\u4e32\u5904\u7406\u65b9\u5f0f\u3002\u4f7f\u7528Python\u7684<code>re<\/code>\u6a21\u5757\uff0c\u53ef\u4ee5\u7f16\u5199\u6b63\u5219\u8868\u8fbe\u5f0f\u6765\u5339\u914d\u5e76\u53bb\u6389\u524d\u5bfc\u96f6\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>number_str = &quot;001234&quot;<\/p>\n<p>cleaned_number_str = re.sub(r&#39;^0+&#39;, &#39;&#39;, number_str)  # \u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u53bb\u6389\u524d\u5bfc\u96f6<\/p>\n<p>print(cleaned_number_str)  # \u8f93\u51fa\u7ed3\u679c\uff1a1234<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u901a\u8fc7\u5339\u914d\u5b57\u7b26\u4e32\u5f00\u5934\u7684\u4e00\u4e2a\u6216\u591a\u4e2a\u96f6\uff0c\u5e76\u5c06\u5176\u66ff\u6362\u4e3a\u7a7a\u5b57\u7b26\u4e32\uff0c\u4ece\u800c\u53bb\u6389\u524d\u5bfc\u96f6\u3002\u5b83\u9002\u7528\u4e8e\u5404\u79cd\u590d\u6742\u7684\u5b57\u7b26\u4e32\u5904\u7406\u60c5\u51b5\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u7ed3\u5408\u591a\u79cd\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u6709\u65f6\u5019\u9700\u8981\u7ed3\u5408\u591a\u79cd\u65b9\u6cd5\u6765\u5904\u7406\u4e0d\u540c\u7684\u60c5\u51b5\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u7ed3\u5408\u5b57\u7b26\u4e32\u65b9\u6cd5\u548c\u6b63\u5219\u8868\u8fbe\u5f0f\u65b9\u6cd5\uff0c\u4ee5\u5904\u7406\u5404\u79cd\u8f93\u5165\u60c5\u51b5\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>def remove_leading_zeros(number_str):<\/p>\n<p>    # \u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u53bb\u6389\u524d\u5bfc\u96f6<\/p>\n<p>    cleaned_number_str = re.sub(r&#39;^0+&#39;, &#39;&#39;, number_str)<\/p>\n<p>    # \u5982\u679c\u7ed3\u679c\u4e3a\u7a7a\u5b57\u7b26\u4e32\uff0c\u5219\u8fd4\u56de&#39;0&#39;<\/p>\n<p>    return cleaned_number_str or &#39;0&#39;<\/p>\n<p>number_str = &quot;00001234&quot;<\/p>\n<p>print(remove_leading_zeros(number_str))  # \u8f93\u51fa\u7ed3\u679c\uff1a1234<\/p>\n<p>number_str = &quot;0000&quot;<\/p>\n<p>print(remove_leading_zeros(number_str))  # \u8f93\u51fa\u7ed3\u679c\uff1a0<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u7ed3\u5408\u65b9\u6cd5\u7684\u65b9\u5f0f\uff0c\u80fd\u591f\u4fdd\u8bc1\u5904\u7406\u5404\u79cd\u8f93\u5165\u60c5\u51b5\u65f6\u7684\u7a33\u5b9a\u6027\u548c\u51c6\u786e\u6027\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u5e94\u7528\u573a\u666f\u4e0e\u6ce8\u610f\u4e8b\u9879<\/h3>\n<\/p>\n<p><p>\u5728\u5f00\u53d1\u8fc7\u7a0b\u4e2d\uff0c\u53bb\u6389\u6570\u5b57\u524d\u9762\u7684\u96f6\u6709\u5f88\u591a\u5e94\u7528\u573a\u666f\u3002\u4f8b\u5982\uff0c\u5728\u5904\u7406\u7528\u6237\u8f93\u5165\u3001\u6570\u636e\u6e05\u6d17\u3001\u6570\u636e\u683c\u5f0f\u5316\u7b49\u65b9\u9762\uff0c\u90fd\u53ef\u80fd\u9700\u8981\u53bb\u6389\u524d\u5bfc\u96f6\u3002\u5728\u8fd9\u4e9b\u573a\u666f\u4e2d\uff0c\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u975e\u5e38\u91cd\u8981\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u7528\u6237\u8f93\u5165\u5904\u7406<\/strong>\uff1a\u5728\u7528\u6237\u8f93\u5165\u5904\u7406\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u6574\u6570\u8f6c\u6362\u65b9\u6cd5\u6216\u5b57\u7b26\u4e32\u65b9\u6cd5\u6765\u5904\u7406\u8f93\u5165\u6570\u636e\uff0c\u4fdd\u8bc1\u6570\u636e\u7684\u6709\u6548\u6027\u548c\u4e00\u81f4\u6027\u3002<\/li>\n<li><strong>\u6570\u636e\u6e05\u6d17<\/strong>\uff1a\u5728\u6570\u636e\u6e05\u6d17\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u4ee5\u7ed3\u5408\u6b63\u5219\u8868\u8fbe\u5f0f\u548c\u5b57\u7b26\u4e32\u65b9\u6cd5\uff0c\u5904\u7406\u5927\u91cf\u6570\u636e\u7684\u524d\u5bfc\u96f6\u95ee\u9898\uff0c\u63d0\u9ad8\u6570\u636e\u8d28\u91cf\u3002<\/li>\n<li><strong>\u6570\u636e\u683c\u5f0f\u5316<\/strong>\uff1a\u5728\u6570\u636e\u683c\u5f0f\u5316\u65f6\uff0c\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\uff0c\u786e\u4fdd\u6570\u636e\u683c\u5f0f\u7b26\u5408\u8981\u6c42\u3002<\/li>\n<\/ol>\n<p><p>\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u4e0d\u540c\u65b9\u6cd5\u9002\u7528\u4e8e\u4e0d\u540c\u60c5\u51b5\uff0c\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u80fd\u591f\u63d0\u9ad8\u5904\u7406\u6548\u7387\u548c\u51c6\u786e\u6027\u3002\u5728\u5904\u7406\u5168\u96f6\u5b57\u7b26\u4e32\u65f6\uff0c\u9700\u8981\u7279\u522b\u6ce8\u610f\u907f\u514d\u7ed3\u679c\u4e3a\u7a7a\u5b57\u7b26\u4e32\u7684\u60c5\u51b5\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u53bb\u6389\u6570\u5b57\u524d\u9762\u7684\u96f6\u662f\u4e00\u4e2a\u5e38\u89c1\u7684\u5b57\u7b26\u4e32\u5904\u7406\u95ee\u9898\u3002\u901a\u8fc7\u4f7f\u7528<strong>\u6574\u6570\u8f6c\u6362\u65b9\u6cd5\u3001\u5b57\u7b26\u4e32\u65b9\u6cd5\u548c\u6b63\u5219\u8868\u8fbe\u5f0f\u65b9\u6cd5<\/strong>\uff0c\u53ef\u4ee5\u8f7b\u677e\u5b9e\u73b0\u53bb\u6389\u524d\u5bfc\u96f6\u7684\u64cd\u4f5c\u3002\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u9002\u7528\u573a\u666f\u548c\u4f18\u7f3a\u70b9\uff0c\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u7a33\u5b9a\u6027\u548c\u53ef\u7ef4\u62a4\u6027\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u7ed3\u5408\u591a\u79cd\u65b9\u6cd5\u5904\u7406\u4e0d\u540c\u60c5\u51b5\uff0c\u80fd\u591f\u786e\u4fdd\u5904\u7406\u7ed3\u679c\u7684\u51c6\u786e\u6027\u548c\u4e00\u81f4\u6027\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u53bb\u6389\u5b57\u7b26\u4e32\u4e2d\u6570\u5b57\u524d\u9762\u7684\u96f6\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>lstrip()<\/code>\u65b9\u6cd5\u6765\u53bb\u6389\u5b57\u7b26\u4e32\u4e2d\u6570\u5b57\u524d\u9762\u7684\u96f6\u3002\u4f8b\u5982\uff0c<code>num_str.lstrip(&#39;0&#39;)<\/code>\u5c06\u8fd4\u56de\u53bb\u6389\u6240\u6709\u524d\u5bfc\u96f6\u7684\u6570\u5b57\u5b57\u7b26\u4e32\u3002\u5982\u679c\u5b57\u7b26\u4e32\u5168\u662f\u96f6\uff0c\u8fd4\u56de\u7684\u662f\u7a7a\u5b57\u7b26\u4e32\uff0c\u60a8\u53ef\u4ee5\u6839\u636e\u9700\u8981\u8fdb\u884c\u5904\u7406\u3002<\/p>\n<p><strong>\u662f\u5426\u53ef\u4ee5\u76f4\u63a5\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6574\u6570\u4ee5\u53bb\u6389\u524d\u5bfc\u96f6\uff1f<\/strong><br \/>\u786e\u5b9e\u53ef\u4ee5\u3002\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6574\u6570\u65f6\uff0cPython\u4f1a\u81ea\u52a8\u53bb\u6389\u524d\u5bfc\u96f6\u3002\u4f8b\u5982\uff0c<code>int(&#39;000123&#39;)<\/code>\u5c06\u8fd4\u56de<code>123<\/code>\u3002\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u5982\u679c\u5b57\u7b26\u4e32\u662f\u5168\u96f6\uff0c\u4f8b\u5982<code>&#39;0000&#39;<\/code>\uff0c\u8f6c\u6362\u540e\u4f1a\u8fd4\u56de<code>0<\/code>\u3002<\/p>\n<p><strong>\u5728\u5904\u7406\u5217\u8868\u4e2d\u7684\u6570\u5b57\u65f6\uff0c\u5982\u4f55\u53bb\u6389\u6bcf\u4e2a\u6570\u5b57\u524d\u9762\u7684\u96f6\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\u7ed3\u5408<code>lstrip()<\/code>\u6216<code>int()<\/code>\u51fd\u6570\u6765\u5904\u7406\u4e00\u4e2a\u6570\u5b57\u5217\u8868\u3002\u4f8b\u5982\uff0c\u5047\u8bbe\u6709\u4e00\u4e2a\u5217\u8868<code>num_list = [&#39;001&#39;, &#39;002&#39;, &#39;003&#39;]<\/code>\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7<code>[num.lstrip(&#39;0&#39;) for num in num_list]<\/code>\u5f97\u5230\u53bb\u6389\u524d\u5bfc\u96f6\u7684\u65b0\u5217\u8868<code>[&#39;1&#39;, &#39;2&#39;, &#39;3&#39;]<\/code>\uff0c\u6216\u8005\u4f7f\u7528<code>[int(num) for num in num_list]<\/code>\u83b7\u53d6\u6574\u6570\u5217\u8868<code>[1, 2, 3]<\/code>\u3002<\/p>\n<p><strong>\u5728\u5904\u7406\u7528\u6237\u8f93\u5165\u65f6\uff0c\u5982\u4f55\u786e\u4fdd\u53bb\u6389\u524d\u5bfc\u96f6\uff1f<\/strong><br \/>\u5f53\u5904\u7406\u7528\u6237\u8f93\u5165\u65f6\uff0c\u53ef\u4ee5\u5728\u63a5\u6536\u5b57\u7b26\u4e32\u540e\u7acb\u5373\u4f7f\u7528<code>lstrip()<\/code>\u6216<code>int()<\/code>\u51fd\u6570\u53bb\u6389\u524d\u5bfc\u96f6\u3002\u4f8b\u5982\uff0c\u60a8\u53ef\u4ee5\u5728\u8f93\u5165\u540e\u6267\u884c<code>input_value = input(&quot;\u8bf7\u8f93\u5165\u6570\u5b57: &quot;).lstrip(&#39;0&#39;)<\/code>\u4ee5\u786e\u4fdd\u7528\u6237\u8f93\u5165\u7684\u6570\u5b57\u524d\u5bfc\u96f6\u88ab\u53bb\u6389\u3002\u8fd9\u79cd\u65b9\u5f0f\u80fd\u6709\u6548\u907f\u514d\u6570\u636e\u5904\u7406\u65f6\u51fa\u73b0\u610f\u5916\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u53bb\u6389\u6570\u5b57\u524d\u9762\u7684\u96f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u5b57\u7b26\u4e32\u65b9\u6cd5\u3001\u6574\u6570\u8f6c\u6362\u65b9\u6cd5\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u65b9\u6cd5\uff0c\u5176\u4e2d\u6700\u7b80\u5355\u548c\u76f4\u63a5\u7684\u65b9\u6cd5\u662f\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6574\u6570 [&hellip;]","protected":false},"author":3,"featured_media":1071676,"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\/1071668"}],"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=1071668"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1071668\/revisions"}],"predecessor-version":[{"id":1071678,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1071668\/revisions\/1071678"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1071676"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1071668"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1071668"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1071668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}