{"id":1003824,"date":"2024-12-27T10:20:39","date_gmt":"2024-12-27T02:20:39","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1003824.html"},"modified":"2024-12-27T10:20:41","modified_gmt":"2024-12-27T02:20:41","slug":"python%e5%a6%82%e4%bd%95%e8%be%93%e5%87%ba%e5%b8%a6%e6%9c%89%e5%8f%98%e9%87%8f","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1003824.html","title":{"rendered":"python\u5982\u4f55\u8f93\u51fa\u5e26\u6709\u53d8\u91cf"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25081018\/005a703d-6666-481b-b39a-d9b8e1bafaf9.webp\" alt=\"python\u5982\u4f55\u8f93\u51fa\u5e26\u6709\u53d8\u91cf\" \/><\/p>\n<p><p> \u5f00\u5934\u6bb5\u843d\uff1a\u5728Python\u4e2d\uff0c\u8f93\u51fa\u5e26\u6709\u53d8\u91cf\u7684\u5b57\u7b26\u4e32\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u5b9e\u73b0\uff0c<strong>\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u3001\u767e\u5206\u53f7\u683c\u5f0f\u5316\u3001<code>str.format()<\/code>\u65b9\u6cd5\u3001<code>f-string<\/code>\u683c\u5f0f\u5316<\/strong>\u7b49\u3002\u5176\u4e2d\uff0c<code>f-string<\/code>\u683c\u5f0f\u5316\u662f\u4e00\u79cd\u66f4\u4e3a\u73b0\u4ee3\u548c\u7b80\u6d01\u7684\u65b9\u5f0f\uff0c\u9002\u7528\u4e8ePython 3.6\u53ca\u4ee5\u4e0a\u7248\u672c\u3002<code>f-string<\/code>\u4f7f\u7528\u5927\u62ec\u53f7 <code>{}<\/code> \u5305\u88f9\u53d8\u91cf\u540d\uff0c\u5e76\u5728\u5b57\u7b26\u4e32\u524d\u52a0\u4e0a\u5b57\u6bcd <code>f<\/code>\u3002\u8fd9\u79cd\u65b9\u6cd5\u4e0d\u4ec5\u8bed\u6cd5\u7b80\u5355\uff0c\u8fd8\u80fd\u591f\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u6267\u884c\u6548\u7387\uff0c\u662f\u76ee\u524d\u63a8\u8350\u7684\u505a\u6cd5\u4e4b\u4e00\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u63a2\u8ba8\u8fd9\u4e9b\u65b9\u6cd5\u7684\u4f7f\u7528\u65b9\u5f0f\u548c\u5b83\u4eec\u5404\u81ea\u7684\u4f18\u7f3a\u70b9\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u683c\u5f0f\u5316\u5b57\u7b26\u4e32<\/p>\n<\/p>\n<p><p>\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u662fPython\u4e2d\u6700\u57fa\u672c\u7684\u8f93\u51fa\u5e26\u6709\u53d8\u91cf\u7684\u65b9\u5f0f\u4e4b\u4e00\u3002\u901a\u8fc7\u4f7f\u7528\u683c\u5f0f\u5316\u64cd\u4f5c\u7b26 <code>%<\/code>\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06\u53d8\u91cf\u63d2\u5165\u5230\u5b57\u7b26\u4e32\u4e2d\u3002\u5177\u4f53\u6765\u8bf4\uff0c<code>%s<\/code> \u7528\u4e8e\u5b57\u7b26\u4e32\uff0c<code>%d<\/code> \u7528\u4e8e\u6574\u6570\uff0c<code>%f<\/code> \u7528\u4e8e\u6d6e\u70b9\u6570\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u57fa\u7840\u4f7f\u7528<\/strong>\uff1a\u5728\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u4e2d\uff0c\u4f7f\u7528\u767e\u5206\u53f7 <code>%<\/code> \u6765\u6807\u8bc6\u9700\u8981\u63d2\u5165\u53d8\u91cf\u7684\u4f4d\u7f6e\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">name = &quot;Alice&quot;<\/p>\n<p>age = 30<\/p>\n<p>print(&quot;My name is %s and I am %d years old.&quot; % (name, age))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u5728Python\u7684\u65e9\u671f\u7248\u672c\u4e2d\u4f7f\u7528\u5e7f\u6cdb\uff0c\u4f46\u7531\u4e8e\u5176\u683c\u5f0f\u4e0d\u591f\u76f4\u89c2\uff0c\u9010\u6e10\u88ab<code>str.format()<\/code>\u65b9\u6cd5\u548c<code>f-string<\/code>\u6240\u53d6\u4ee3\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u591a\u53d8\u91cf\u63d2\u5165<\/strong>\uff1a\u5f53\u9700\u8981\u63d2\u5165\u591a\u4e2a\u53d8\u91cf\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7\u5c06\u53d8\u91cf\u653e\u5728\u4e00\u4e2a\u5143\u7ec4\u4e2d\uff0c\u5e76\u5728\u5b57\u7b26\u4e32\u4e2d\u4f7f\u7528\u591a\u4e2a\u683c\u5f0f\u5316\u6807\u8bc6\u7b26\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">height = 5.9<\/p>\n<p>print(&quot;Name: %s, Age: %d, Height: %.1f&quot; % (name, age, height))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6b64\u5904\uff0c<code>%.1f<\/code> \u8868\u793a\u4fdd\u7559\u4e00\u4f4d\u5c0f\u6570\u7684\u6d6e\u70b9\u6570\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001\u767e\u5206\u53f7\u683c\u5f0f\u5316<\/p>\n<\/p>\n<p><p>\u767e\u5206\u53f7\u683c\u5f0f\u5316\u662f\u4e00\u79cd\u7ecf\u5178\u7684\u5b57\u7b26\u4e32\u63d2\u5165\u65b9\u5f0f\uff0c\u867d\u7136\u5728Python 3\u4e2d\u88ab\u5176\u4ed6\u65b9\u6cd5\u9010\u6e10\u66ff\u4ee3\uff0c\u4f46\u5728\u67d0\u4e9b\u573a\u666f\u4e0b\u4ecd\u7136\u6709\u5176\u72ec\u7279\u7684\u4f18\u52bf\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f18\u7f3a\u70b9<\/strong>\uff1a\u767e\u5206\u53f7\u683c\u5f0f\u5316\u7684\u4f18\u70b9\u5728\u4e8e\u5176\u7b80\u5355\u76f4\u63a5\uff0c\u9002\u7528\u4e8e\u7b80\u5355\u7684\u5b57\u7b26\u4e32\u66ff\u6362\u3002\u7136\u800c\uff0c\u5f53\u6d89\u53ca\u5230\u590d\u6742\u7684\u5b57\u7b26\u4e32\u7ed3\u6784\u6216\u7c7b\u578b\u8f6c\u6362\u65f6\uff0c\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u7ef4\u62a4\u6027\u4f1a\u53d8\u5dee\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u66ff\u4ee3\u65b9\u6cd5<\/strong>\uff1a\u4e3a\u4e86\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u7075\u6d3b\u6027\uff0cPython\u5f15\u5165\u4e86<code>str.format()<\/code>\u65b9\u6cd5\u548c<code>f-string<\/code>\u683c\u5f0f\u5316\uff0c\u63d0\u4f9b\u4e86\u66f4\u5f3a\u5927\u7684\u529f\u80fd\u548c\u66f4\u7b80\u6d01\u7684\u8bed\u6cd5\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001<code>str.format()<\/code>\u65b9\u6cd5<\/p>\n<\/p>\n<p><p><code>str.format()<\/code>\u65b9\u6cd5\u662fPython 3\u5f15\u5165\u7684\u4e00\u79cd\u66f4\u7075\u6d3b\u7684\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u65b9\u5f0f\u3002\u76f8\u6bd4\u4e8e\u767e\u5206\u53f7\u683c\u5f0f\u5316\uff0c\u5b83\u63d0\u4f9b\u4e86\u66f4\u591a\u7684\u529f\u80fd\u548c\u66f4\u597d\u7684\u53ef\u8bfb\u6027\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u57fa\u7840\u7528\u6cd5<\/strong>\uff1a\u4f7f\u7528<code>str.format()<\/code>\u65b9\u6cd5\uff0c\u53ef\u4ee5\u5728\u5b57\u7b26\u4e32\u4e2d\u4f7f\u7528\u5927\u62ec\u53f7 <code>{}<\/code> \u4f5c\u4e3a\u5360\u4f4d\u7b26\uff0c\u5e76\u5728\u540e\u7eed\u8c03\u7528<code>format()<\/code>\u65b9\u6cd5\u65f6\u4f20\u5165\u53d8\u91cf\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">print(&quot;My name is {} and I am {} years old.&quot;.format(name, age))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6307\u5b9a\u4f4d\u7f6e\u548c\u547d\u540d\u53c2\u6570<\/strong>\uff1a<code>str.format()<\/code>\u5141\u8bb8\u901a\u8fc7\u7d22\u5f15\u6216\u547d\u540d\u53c2\u6570\u6765\u6307\u5b9a\u63d2\u5165\u53d8\u91cf\u7684\u4f4d\u7f6e\uff0c\u8fd9\u4f7f\u5f97\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u66f4\u52a0\u7075\u6d3b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">print(&quot;Name: {0}, Age: {1}, Height: {2}&quot;.format(name, age, height))<\/p>\n<p>print(&quot;Name: {n}, Age: {a}, Height: {h}&quot;.format(n=name, a=age, h=height))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u5f0f\u7279\u522b\u9002\u5408\u7528\u4e8e\u6a21\u677f\u5b57\u7b26\u4e32\u6216\u8005\u9700\u8981\u91cd\u590d\u4f7f\u7528\u76f8\u540c\u53d8\u91cf\u7684\u573a\u666f\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001<code>f-string<\/code>\u683c\u5f0f\u5316<\/p>\n<\/p>\n<p><p><code>f-string<\/code>\u683c\u5f0f\u5316\u662fPython 3.6\u5f15\u5165\u7684\u4e00\u79cd\u73b0\u4ee3\u5316\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u65b9\u5f0f\u3002\u5b83\u4e0d\u4ec5\u7b80\u5355\u6613\u7528\uff0c\u8fd8\u63d0\u5347\u4e86\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u6267\u884c\u6548\u7387\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u57fa\u7840\u7528\u6cd5<\/strong>\uff1a\u5728\u5b57\u7b26\u4e32\u524d\u52a0\u4e0a\u5b57\u6bcd <code>f<\/code>\uff0c\u5e76\u5728\u5b57\u7b26\u4e32\u4e2d\u4f7f\u7528\u5927\u62ec\u53f7 <code>{}<\/code> \u5305\u88f9\u53d8\u91cf\u540d\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">print(f&quot;My name is {name} and I am {age} years old.&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8868\u8fbe\u5f0f\u652f\u6301<\/strong>\uff1a<code>f-string<\/code>\u5141\u8bb8\u5728\u5927\u62ec\u53f7\u4e2d\u76f4\u63a5\u8fdb\u884c\u8868\u8fbe\u5f0f\u8ba1\u7b97\uff0c\u8fd9\u4f7f\u5f97\u5b83\u6bd4\u5176\u4ed6\u683c\u5f0f\u5316\u65b9\u6cd5\u66f4\u52a0\u5f3a\u5927\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">print(f&quot;Next year, I will be {age + 1} years old.&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u7279\u6027\u4f7f\u5f97<code>f-string<\/code>\u5728\u5904\u7406\u52a8\u6001\u6570\u636e\u6216\u590d\u6742\u903b\u8f91\u65f6\u975e\u5e38\u4fbf\u5229\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e94\u3001\u9009\u62e9\u5408\u9002\u7684\u683c\u5f0f\u5316\u65b9\u5f0f<\/p>\n<\/p>\n<p><p>\u5728\u9009\u62e9\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u65b9\u5f0f\u65f6\uff0c\u9700\u8981\u6839\u636e\u5177\u4f53\u7684\u9700\u6c42\u548cPython\u7248\u672c\u6765\u51b3\u5b9a\u3002\u5bf9\u4e8e\u73b0\u4ee3Python\u4ee3\u7801\uff0c<code>f-string<\/code>\u662f\u63a8\u8350\u7684\u9009\u62e9\uff0c\u56e0\u4e3a\u5b83\u63d0\u4f9b\u4e86\u66f4\u597d\u7684\u53ef\u8bfb\u6027\u548c\u6027\u80fd\u3002\u7136\u800c\uff0c\u5728\u9700\u8981\u517c\u5bb9\u65e7\u7248\u672cPython\u65f6\uff0c<code>str.format()<\/code>\u4e5f\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\u3002\u767e\u5206\u53f7\u683c\u5f0f\u5316\u867d\u7136\u4e0d\u518d\u662f\u4e3b\u6d41\uff0c\u4f46\u5728\u67d0\u4e9b\u7b80\u5355\u573a\u666f\u4e2d\u4ecd\u7136\u53ef\u4ee5\u4f7f\u7528\u3002<\/p>\n<\/p>\n<p><p>\u516d\u3001\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u4e86\u89e3\u4e0d\u540c\u7684\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u65b9\u5f0f\u53ca\u5176\u7279\u70b9\uff0c\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u7f16\u5199\u66f4\u9ad8\u6548\u3001\u53ef\u8bfb\u6027\u66f4\u5f3a\u7684Python\u4ee3\u7801\u3002\u5728\u5f00\u53d1\u8fc7\u7a0b\u4e2d\uff0c\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u9009\u62e9\u5408\u9002\u7684\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u65b9\u6cd5\uff0c\u662f\u63d0\u5347\u4ee3\u7801\u8d28\u91cf\u548c\u5f00\u53d1\u6548\u7387\u7684\u91cd\u8981\u4e00\u6b65\u3002\u65e0\u8bba\u662f\u5904\u7406\u7b80\u5355\u7684\u5b57\u7b26\u4e32\u62fc\u63a5\uff0c\u8fd8\u662f\u590d\u6742\u7684\u52a8\u6001\u6570\u636e\u5c55\u793a\uff0cPython\u7684\u591a\u79cd\u683c\u5f0f\u5316\u65b9\u5f0f\u90fd\u80fd\u63d0\u4f9b\u5f3a\u6709\u529b\u7684\u652f\u6301\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u8f93\u51fa\u5e26\u6709\u53d8\u91cf\u7684\u5b57\u7b26\u4e32\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u65b9\u6cd5\u5c06\u53d8\u91cf\u5d4c\u5165\u5230\u5b57\u7b26\u4e32\u4e2d\u3002\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\uff08f-strings\uff09\u3001<code>str.format()<\/code>\u65b9\u6cd5\u4ee5\u53ca\u767e\u5206\u53f7\uff08%\uff09\u683c\u5f0f\u5316\u3002\u6bd4\u5982\uff0c\u4f7f\u7528f-string\u7684\u65b9\u5f0f\u5982\u4e0b\uff1a  <\/p>\n<pre><code class=\"language-python\">name = &quot;Alice&quot;\nage = 30\nprint(f&quot;My name is {name} and I am {age} years old.&quot;)\n<\/code><\/pre>\n<p>\u8fd9\u79cd\u65b9\u6cd5\u7b80\u6d01\u4e14\u6613\u4e8e\u9605\u8bfb\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\uff0c\u5982\u4f55\u540c\u65f6\u8f93\u51fa\u591a\u4e2a\u53d8\u91cf\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528\u9017\u53f7\u5206\u9694\u591a\u4e2a\u53d8\u91cf\u8fdb\u884c\u8f93\u51fa\uff0cPython\u4f1a\u81ea\u52a8\u5728\u53d8\u91cf\u4e4b\u95f4\u6dfb\u52a0\u7a7a\u683c\u3002\u4f8b\u5982\uff1a  <\/p>\n<pre><code class=\"language-python\">x = 10\ny = 20\nprint(&quot;The values are:&quot;, x, &quot;and&quot;, y)\n<\/code><\/pre>\n<p>\u6b64\u5916\uff0c\u4f7f\u7528<code>str.format()<\/code>\u65b9\u6cd5\u4e5f\u53ef\u4ee5\u5b9e\u73b0\uff1a  <\/p>\n<pre><code class=\"language-python\">print(&quot;The values are: {} and {}&quot;.format(x, y))\n<\/code><\/pre>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u683c\u5f0f\u5316\u8f93\u51fa\u53d8\u91cf\u7684\u503c\uff1f<\/strong><br \/>\u5982\u679c\u5e0c\u671b\u63a7\u5236\u8f93\u51fa\u7684\u683c\u5f0f\uff0c\u4f8b\u5982\u6570\u5b57\u7684\u5c0f\u6570\u4f4d\u6216\u5b57\u7b26\u4e32\u7684\u5bbd\u5ea6\uff0c\u53ef\u4ee5\u4f7f\u7528\u683c\u5f0f\u8bf4\u660e\u7b26\u3002\u5728f-string\u4e2d\uff0c\u53ef\u4ee5\u8fd9\u6837\u505a\uff1a  <\/p>\n<pre><code class=\"language-python\">price = 19.99\nprint(f&quot;The price is: ${price:.2f}&quot;)\n<\/code><\/pre>\n<p>\u8fd9\u4e2a\u4f8b\u5b50\u663e\u793a\u4e86\u5982\u4f55\u9650\u5236\u5c0f\u6570\u4f4d\u6570\u4e3a\u4e24\u4f4d\uff0c\u8f93\u51fa\u7ed3\u679c\u5c06\u662f\u201c$19.99\u201d\u3002\u4f7f\u7528<code>str.format()<\/code>\u4e5f\u53ef\u4ee5\u5b9e\u73b0\u7c7b\u4f3c\u6548\u679c\uff1a  <\/p>\n<pre><code class=\"language-python\">print(&quot;The price is: ${:.2f}&quot;.format(price))\n<\/code><\/pre>\n<p>\u901a\u8fc7\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u53ef\u4ee5\u7075\u6d3b\u5730\u63a7\u5236\u8f93\u51fa\u7684\u683c\u5f0f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5f00\u5934\u6bb5\u843d\uff1a\u5728Python\u4e2d\uff0c\u8f93\u51fa\u5e26\u6709\u53d8\u91cf\u7684\u5b57\u7b26\u4e32\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u5b9e\u73b0\uff0c\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u3001\u767e\u5206\u53f7\u683c\u5f0f\u5316\u3001str.fo [&hellip;]","protected":false},"author":3,"featured_media":1003831,"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\/1003824"}],"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=1003824"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1003824\/revisions"}],"predecessor-version":[{"id":1003834,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1003824\/revisions\/1003834"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1003831"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1003824"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1003824"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1003824"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}