{"id":1139959,"date":"2025-01-08T22:15:24","date_gmt":"2025-01-08T14:15:24","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1139959.html"},"modified":"2025-01-08T22:15:27","modified_gmt":"2025-01-08T14:15:27","slug":"python%e5%a6%82%e4%bd%95%e8%b0%83%e6%95%b4%e7%99%be%e5%88%86%e6%af%94%e8%be%93%e5%87%ba%e6%a0%bc%e5%bc%8f","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1139959.html","title":{"rendered":"python\u5982\u4f55\u8c03\u6574\u767e\u5206\u6bd4\u8f93\u51fa\u683c\u5f0f"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25103109\/73da7101-2663-41c7-9ce4-6852dc25d2fc.webp\" alt=\"python\u5982\u4f55\u8c03\u6574\u767e\u5206\u6bd4\u8f93\u51fa\u683c\u5f0f\" \/><\/p>\n<p><p> <strong>Python\u8c03\u6574\u767e\u5206\u6bd4\u8f93\u51fa\u683c\u5f0f\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u3001f-string\u3001\u548c<code>format<\/code>\u51fd\u6570\u3002<\/strong>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u4f7f\u7528f-string\u662f\u6700\u7b80\u6d01\u548c\u76f4\u89c2\u7684\u65b9\u6cd5\uff0c\u5b83\u5141\u8bb8\u6211\u4eec\u76f4\u63a5\u5728\u5b57\u7b26\u4e32\u4e2d\u5d4c\u5165\u8868\u8fbe\u5f0f\u5e76\u8fdb\u884c\u683c\u5f0f\u5316\u3002\u63a5\u4e0b\u6765\u6211\u4eec\u8be6\u7ec6\u8ba8\u8bba\u4e09\u79cd\u65b9\u6cd5\uff0c\u5e76\u8bf4\u660e\u5982\u4f55\u5728\u4e0d\u540c\u573a\u666f\u4e0b\u4f7f\u7528\u5b83\u4eec\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5b57\u7b26\u4e32\u683c\u5f0f\u5316<\/h3>\n<\/p>\n<p><p>\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u662fPython\u4e2d\u6700\u53e4\u8001\u7684\u5b57\u7b26\u4e32\u5904\u7406\u65b9\u6cd5\u4e4b\u4e00\u3002\u5c3d\u7ba1\u5b83\u4e0d\u5982f-string\u76f4\u89c2\uff0c\u4f46\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\u4ecd\u7136\u975e\u5e38\u6709\u7528\u3002\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u4f7f\u7528\u767e\u5206\u53f7<code>%<\/code>\u4f5c\u4e3a\u5360\u4f4d\u7b26\uff0c\u5e76\u5728\u5b57\u7b26\u4e32\u5916\u90e8\u63d0\u4f9b\u683c\u5f0f\u5316\u6240\u9700\u7684\u53c2\u6570\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">percentage = 0.12345<\/p>\n<p>formatted_percentage = &quot;%.2f%%&quot; % (percentage * 100)<\/p>\n<p>print(formatted_percentage)  # \u8f93\u51fa\uff1a12.35%<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u793a\u4f8b\u4e2d\uff0c<code>%.2f%%<\/code>\u8868\u793a\u6211\u4eec\u5e0c\u671b\u683c\u5f0f\u5316\u7684\u6570\u5b57\u4fdd\u7559\u4e24\u4f4d\u5c0f\u6570\uff0c\u5e76\u5728\u6570\u5b57\u540e\u6dfb\u52a0\u767e\u5206\u53f7\u3002<code>percentage * 100<\/code>\u5219\u5c06\u5c0f\u6570\u8f6c\u6362\u4e3a\u767e\u5206\u6bd4\u3002<\/p>\n<\/p>\n<p><h4>\u4f18\u70b9\uff1a<\/h4>\n<\/p>\n<ul>\n<li>\u7b80\u5355\u76f4\u63a5\uff0c\u9002\u5408\u5904\u7406\u7b80\u5355\u683c\u5f0f\u5316\u4efb\u52a1\u3002<\/li>\n<li>\u517c\u5bb9Python 2\u548cPython 3\u3002<\/li>\n<\/ul>\n<p><h4>\u7f3a\u70b9\uff1a<\/h4>\n<\/p>\n<ul>\n<li>\u53ef\u8bfb\u6027\u8f83\u5dee\uff0c\u5c24\u5176\u662f\u5bf9\u4e8e\u590d\u6742\u683c\u5f0f\u5316\u9700\u6c42\u3002<\/li>\n<li>\u4e0d\u652f\u6301\u5d4c\u5165\u8868\u8fbe\u5f0f\u3002<\/li>\n<\/ul>\n<p><h3>\u4e8c\u3001f-string<\/h3>\n<\/p>\n<p><p>f-string\u662fPython 3.6\u5f15\u5165\u7684\u4e00\u79cd\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u65b9\u6cd5\uff0c\u5176\u8bed\u6cd5\u7b80\u5355\u3001\u53ef\u8bfb\u6027\u9ad8\u3002f-string\u5141\u8bb8\u6211\u4eec\u5728\u5b57\u7b26\u4e32\u4e2d\u76f4\u63a5\u5d4c\u5165\u8868\u8fbe\u5f0f\uff0c\u5e76\u4f7f\u7528<code>:<\/code>\u8fdb\u884c\u683c\u5f0f\u5316\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">percentage = 0.12345<\/p>\n<p>formatted_percentage = f&quot;{percentage * 100:.2f}%&quot;<\/p>\n<p>print(formatted_percentage)  # \u8f93\u51fa\uff1a12.35%<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c<code>{percentage * 100:.2f}%<\/code>\u8868\u793a\u6211\u4eec\u5e0c\u671b\u5c06<code>percentage<\/code>\u8f6c\u6362\u4e3a\u767e\u5206\u6bd4\uff0c\u5e76\u4fdd\u7559\u4e24\u4f4d\u5c0f\u6570\u3002<\/p>\n<\/p>\n<p><h4>\u4f18\u70b9\uff1a<\/h4>\n<\/p>\n<ul>\n<li>\u8bed\u6cd5\u7b80\u6d01\u3001\u53ef\u8bfb\u6027\u9ad8\u3002<\/li>\n<li>\u652f\u6301\u5d4c\u5165\u4efb\u610f\u8868\u8fbe\u5f0f\u3002<\/li>\n<li>\u4ec5\u9002\u7528\u4e8ePython 3.6\u53ca\u4ee5\u4e0a\u7248\u672c\u3002<\/li>\n<\/ul>\n<p><h4>\u7f3a\u70b9\uff1a<\/h4>\n<\/p>\n<ul>\n<li>\u4e0d\u517c\u5bb9Python 2\u3002<\/li>\n<\/ul>\n<p><h3>\u4e09\u3001<code>format<\/code>\u51fd\u6570<\/h3>\n<\/p>\n<p><p><code>format<\/code>\u51fd\u6570\u662fPython 3\u5f15\u5165\u7684\u53e6\u4e00\u79cd\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u65b9\u6cd5\uff0c\u5177\u6709\u8f83\u9ad8\u7684\u7075\u6d3b\u6027\u3002\u5b83\u5141\u8bb8\u6211\u4eec\u4f7f\u7528\u5927\u62ec\u53f7<code>{}<\/code>\u4f5c\u4e3a\u5360\u4f4d\u7b26\uff0c\u5e76\u5728\u5b57\u7b26\u4e32\u5916\u90e8\u63d0\u4f9b\u683c\u5f0f\u5316\u53c2\u6570\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">percentage = 0.12345<\/p>\n<p>formatted_percentage = &quot;{:.2f}%&quot;.format(percentage * 100)<\/p>\n<p>print(formatted_percentage)  # \u8f93\u51fa\uff1a12.35%<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c<code>{:.2f}%<\/code>\u8868\u793a\u6211\u4eec\u5e0c\u671b\u683c\u5f0f\u5316\u7684\u6570\u5b57\u4fdd\u7559\u4e24\u4f4d\u5c0f\u6570\uff0c\u5e76\u5728\u6570\u5b57\u540e\u6dfb\u52a0\u767e\u5206\u53f7\u3002<\/p>\n<\/p>\n<p><h4>\u4f18\u70b9\uff1a<\/h4>\n<\/p>\n<ul>\n<li>\u8bed\u6cd5\u7075\u6d3b\uff0c\u652f\u6301\u590d\u6742\u7684\u683c\u5f0f\u5316\u9700\u6c42\u3002<\/li>\n<li>\u517c\u5bb9Python 3\u53ca\u4ee5\u4e0a\u7248\u672c\u3002<\/li>\n<\/ul>\n<p><h4>\u7f3a\u70b9\uff1a<\/h4>\n<\/p>\n<ul>\n<li>\u8bed\u6cd5\u76f8\u5bf9\u5197\u957f\uff0c\u4e0d\u5982f-string\u7b80\u6d01\u3002<\/li>\n<\/ul>\n<p><h3>\u56db\u3001\u4f7f\u7528\u5e93\u51fd\u6570<\/h3>\n<\/p>\n<p><p>\u6709\u65f6\u5019\uff0c\u6211\u4eec\u53ef\u80fd\u9700\u8981\u66f4\u9ad8\u7ea7\u7684\u683c\u5f0f\u5316\u529f\u80fd\uff0c\u8fd9\u65f6\u53ef\u4ee5\u501f\u52a9Python\u7684\u6807\u51c6\u5e93\u3002\u4f8b\u5982\uff0c<code>locale<\/code>\u6a21\u5757\u53ef\u4ee5\u6839\u636e\u672c\u5730\u5316\u8bbe\u7f6e\u8fdb\u884c\u683c\u5f0f\u5316\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import locale<\/p>\n<p>locale.setlocale(locale.LC_ALL, &#39;&#39;)<\/p>\n<p>percentage = 0.12345<\/p>\n<p>formatted_percentage = locale.format_string(&quot;%.2f%%&quot;, percentage * 100)<\/p>\n<p>print(formatted_percentage)  # \u8f93\u51fa\uff1a12.35%<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6b64\u65b9\u6cd5\u5229\u7528\u4e86<code>locale<\/code>\u6a21\u5757\u7684\u672c\u5730\u5316\u529f\u80fd\uff0c\u53ef\u4ee5\u6839\u636e\u4e0d\u540c\u5730\u533a\u7684\u4e60\u60ef\u8fdb\u884c\u683c\u5f0f\u5316\u3002<\/p>\n<\/p>\n<p><h4>\u4f18\u70b9\uff1a<\/h4>\n<\/p>\n<ul>\n<li>\u652f\u6301\u672c\u5730\u5316\u683c\u5f0f\u3002<\/li>\n<li>\u7075\u6d3b\u6027\u9ad8\uff0c\u9002\u5408\u590d\u6742\u683c\u5f0f\u5316\u9700\u6c42\u3002<\/li>\n<\/ul>\n<p><h4>\u7f3a\u70b9\uff1a<\/h4>\n<\/p>\n<ul>\n<li>\u9700\u8981\u989d\u5916\u5bfc\u5165\u6a21\u5757\uff0c\u589e\u52a0\u4e86\u4ee3\u7801\u7684\u590d\u6742\u5ea6\u3002<\/li>\n<\/ul>\n<p><h3>\u4e94\u3001\u5b9e\u9645\u5e94\u7528\u573a\u666f<\/h3>\n<\/p>\n<p><p>\u4e86\u89e3\u4e86\u4e0d\u540c\u7684\u683c\u5f0f\u5316\u65b9\u6cd5\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u6839\u636e\u5b9e\u9645\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u89c1\u7684\u5e94\u7528\u573a\u666f\uff1a<\/p>\n<\/p>\n<p><h4>1\u3001\u6570\u636e\u62a5\u544a<\/h4>\n<\/p>\n<p><p>\u5728\u751f\u6210\u6570\u636e\u62a5\u544a\u65f6\uff0c\u6211\u4eec\u7ecf\u5e38\u9700\u8981\u5c06\u5c0f\u6570\u8f6c\u6362\u4e3a\u767e\u5206\u6bd4\uff0c\u5e76\u4fdd\u7559\u4e00\u5b9a\u7684\u5c0f\u6570\u4f4d\u3002\u8fd9\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528f-string\u6216<code>format<\/code>\u51fd\u6570\u8fdb\u884c\u683c\u5f0f\u5316\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">data = [0.123, 0.456, 0.789]<\/p>\n<p>report = [f&quot;{x * 100:.2f}%&quot; for x in data]<\/p>\n<p>print(report)  # \u8f93\u51fa\uff1a[&#39;12.30%&#39;, &#39;45.60%&#39;, &#39;78.90%&#39;]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u79d1\u5b66\u8ba1\u7b97<\/h4>\n<\/p>\n<p><p>\u5728\u79d1\u5b66\u8ba1\u7b97\u4e2d\uff0c\u6211\u4eec\u53ef\u80fd\u9700\u8981\u5bf9\u7ed3\u679c\u8fdb\u884c\u683c\u5f0f\u5316\u8f93\u51fa\uff0c\u4ee5\u4fbf\u66f4\u597d\u5730\u5c55\u793a\u6570\u636e\u3002\u8fd9\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u6216f-string\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">results = [0.123456, 0.456789, 0.789123]<\/p>\n<p>formatted_results = [&quot;%.2f%%&quot; % (x * 100) for x in results]<\/p>\n<p>print(formatted_results)  # \u8f93\u51fa\uff1a[&#39;12.35%&#39;, &#39;45.68%&#39;, &#39;78.91%&#39;]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3\u3001\u7f51\u9875\u5f00\u53d1<\/h4>\n<\/p>\n<p><p>\u5728\u7f51\u9875\u5f00\u53d1\u4e2d\uff0c\u6211\u4eec\u53ef\u80fd\u9700\u8981\u52a8\u6001\u751f\u6210\u5e26\u6709\u767e\u5206\u6bd4\u7684\u5185\u5bb9\u3002\u8fd9\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528f-string\u6216<code>format<\/code>\u51fd\u6570\u8fdb\u884c\u683c\u5f0f\u5316\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">progress = 0.56789<\/p>\n<p>html_content = f&quot;&lt;div&gt;Progress: {progress * 100:.2f}%&lt;\/div&gt;&quot;<\/p>\n<p>print(html_content)  # \u8f93\u51fa\uff1a&lt;div&gt;Progress: 56.79%&lt;\/div&gt;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u516d\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u8ba8\u8bba\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u5230\uff0cPython\u63d0\u4f9b\u4e86\u591a\u79cd\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u65b9\u6cd5\uff0c\u53ef\u4ee5\u6ee1\u8db3\u4e0d\u540c\u573a\u666f\u7684\u9700\u6c42\u3002<strong>\u5b57\u7b26\u4e32\u683c\u5f0f\u5316<\/strong>\u3001<strong>f-string<\/strong>\u3001\u548c<strong><code>format<\/code>\u51fd\u6570<\/strong>\u5404\u6709\u4f18\u7f3a\u70b9\uff0c\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u7ef4\u62a4\u6027\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u6700\u9002\u5408\u7684\u65b9\u6cd5\uff0c\u4ece\u800c\u5b9e\u73b0\u9ad8\u6548\u7684\u767e\u5206\u6bd4\u8f93\u51fa\u683c\u5f0f\u8c03\u6574\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u63a7\u5236\u767e\u5206\u6bd4\u7684\u8f93\u51fa\u7cbe\u5ea6\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u6765\u63a7\u5236\u767e\u5206\u6bd4\u7684\u8f93\u51fa\u7cbe\u5ea6\u3002\u4f7f\u7528<code>format()<\/code>\u51fd\u6570\u6216f-string\u53ef\u4ee5\u65b9\u4fbf\u5730\u8bbe\u7f6e\u5c0f\u6570\u4f4d\u6570\u3002\u4f8b\u5982\uff0c\u5982\u679c\u5e0c\u671b\u8f93\u51fa\u4fdd\u7559\u4e24\u4f4d\u5c0f\u6570\u7684\u767e\u5206\u6bd4\uff0c\u53ef\u4ee5\u4f7f\u7528<code>&quot;{:.2f}%&quot;.format(value * 100)<\/code>\u6216\u8005<code>f&quot;{value * 100:.2f}%&quot;<\/code>\u6765\u5b9e\u73b0\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u600e\u6837\u5c06\u5c0f\u6570\u8f6c\u6362\u4e3a\u767e\u5206\u6bd4\u683c\u5f0f\uff1f<\/strong><br \/>\u8981\u5c06\u5c0f\u6570\u8f6c\u6362\u4e3a\u767e\u5206\u6bd4\u683c\u5f0f\uff0c\u53ef\u4ee5\u76f4\u63a5\u5c06\u5c0f\u6570\u4e58\u4ee5100\uff0c\u5e76\u6dfb\u52a0\u767e\u5206\u53f7\u3002\u4f8b\u5982\uff0c\u82e5\u6709\u4e00\u4e2a\u53d8\u91cf<code>value = 0.85<\/code>\uff0c\u53ef\u4ee5\u4f7f\u7528<code>&quot;{:.2f}%&quot;.format(value * 100)<\/code>\u6765\u5f97\u5230\u8f93\u51fa\u201c85.00%\u201d\u3002\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u4efb\u4f55\u8303\u56f4\u7684\u5c0f\u6570\u3002<\/p>\n<p><strong>Python\u4e2d\u6709\u54ea\u4e9b\u5e93\u53ef\u4ee5\u5e2e\u52a9\u8f93\u51fa\u683c\u5f0f\u5316\u7684\u767e\u5206\u6bd4\uff1f<\/strong><br \/>Python\u7684<code>pandas<\/code>\u5e93\u63d0\u4f9b\u4e86\u5f88\u597d\u7684\u683c\u5f0f\u5316\u529f\u80fd\uff0c\u5c24\u5176\u662f\u5728\u5904\u7406\u6570\u636e\u6846\u65f6\u3002\u53ef\u4ee5\u901a\u8fc7<code>pd.Series<\/code>\u7684<code>apply<\/code>\u65b9\u6cd5\uff0c\u7ed3\u5408\u81ea\u5b9a\u4e49\u683c\u5f0f\u5316\u51fd\u6570\u6765\u8f93\u51fa\u767e\u5206\u6bd4\u683c\u5f0f\u3002\u6b64\u5916\uff0c<code>matplotlib<\/code>\u5e93\u4e5f\u652f\u6301\u5728\u56fe\u8868\u4e2d\u76f4\u63a5\u663e\u793a\u767e\u5206\u6bd4\uff0c\u8fd9\u5728\u6570\u636e\u53ef\u89c6\u5316\u4e2d\u975e\u5e38\u5b9e\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u8c03\u6574\u767e\u5206\u6bd4\u8f93\u51fa\u683c\u5f0f\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u3001f-string\u3001\u548cformat\u51fd\u6570\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c [&hellip;]","protected":false},"author":3,"featured_media":1139965,"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\/1139959"}],"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=1139959"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1139959\/revisions"}],"predecessor-version":[{"id":1139967,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1139959\/revisions\/1139967"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1139965"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1139959"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1139959"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1139959"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}