{"id":978490,"date":"2024-12-27T06:38:12","date_gmt":"2024-12-26T22:38:12","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/978490.html"},"modified":"2024-12-27T06:38:15","modified_gmt":"2024-12-26T22:38:15","slug":"%e5%a6%82%e4%bd%95%e6%9f%a5%e7%9c%8bpython-%e7%9a%84value","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/978490.html","title":{"rendered":"\u5982\u4f55\u67e5\u770bpython \u7684value"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24203448\/d779b008-2c2c-46c2-ad68-1cf6873e62de.webp\" alt=\"\u5982\u4f55\u67e5\u770bpython \u7684value\" \/><\/p>\n<p><p> <strong>\u8981\u67e5\u770b Python \u4e2d\u7684\u53d8\u91cf\u503c\uff0c\u53ef\u4ee5\u4f7f\u7528 print() \u51fd\u6570\u3001\u4f7f\u7528\u8c03\u8bd5\u5668\u3001\u6216\u8005\u901a\u8fc7\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668\u67e5\u770b\u3002<\/strong>\u5176\u4e2d\uff0c\u4f7f\u7528 <code>print()<\/code> \u51fd\u6570\u662f\u6700\u5e38\u89c1\u4e14\u7b80\u5355\u7684\u65b9\u6cd5\uff0c\u53ef\u4ee5\u76f4\u63a5\u5728\u4ee3\u7801\u4e2d\u63d2\u5165 <code>print(variable)<\/code> \u8bed\u53e5\u6765\u8f93\u51fa\u53d8\u91cf\u7684\u503c\u3002\u4e0b\u9762\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u4e09\u79cd\u65b9\u6cd5\uff0c\u4ee5\u53ca\u5176\u4ed6\u4e00\u4e9b\u76f8\u5173\u6280\u5de7\uff0c\u4ee5\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u67e5\u770b\u548c\u8c03\u8bd5 Python \u4ee3\u7801\u4e2d\u7684\u53d8\u91cf\u503c\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4f7f\u7528 PRINT() \u51fd\u6570<\/p>\n<\/p>\n<p><p><code>print()<\/code> \u51fd\u6570\u662f\u6700\u5e38\u7528\u4e14\u7b80\u5355\u7684\u67e5\u770b\u53d8\u91cf\u503c\u7684\u65b9\u6cd5\u3002\u901a\u8fc7\u5728\u4ee3\u7801\u4e2d\u6dfb\u52a0 <code>print()<\/code> \u8bed\u53e5\uff0c\u4f60\u53ef\u4ee5\u5728\u63a7\u5236\u53f0\u8f93\u51fa\u53d8\u91cf\u7684\u5f53\u524d\u503c\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u57fa\u672c\u7528\u6cd5<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u4ee3\u7801\u4e2d\u4f7f\u7528 <code>print()<\/code> \u51fd\u6570\u8f93\u51fa\u53d8\u91cf\u7684\u503c\uff0c\u53ef\u4ee5\u5e2e\u52a9\u4f60\u5feb\u901f\u67e5\u770b\u53d8\u91cf\u5728\u4e0d\u540c\u9636\u6bb5\u7684\u503c\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">x = 10<\/p>\n<p>print(x)  # \u8f93\u51fa: 10<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u4efb\u4f55\u6570\u636e\u7c7b\u578b\u7684\u53d8\u91cf\uff0c\u5305\u62ec\u5b57\u7b26\u4e32\u3001\u6570\u5b57\u3001\u5217\u8868\u3001\u5b57\u5178\u7b49\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u683c\u5f0f\u5316\u8f93\u51fa<\/strong><\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\uff0c\u4f60\u53ef\u4ee5\u66f4\u6e05\u6670\u5730\u8f93\u51fa\u53d8\u91cf\u4fe1\u606f\u3002\u4f8b\u5982\uff0c\u4f7f\u7528 f-\u5b57\u7b26\u4e32\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">name = &quot;Alice&quot;<\/p>\n<p>age = 30<\/p>\n<p>print(f&quot;Name: {name}, Age: {age}&quot;)  # \u8f93\u51fa: Name: Alice, Age: 30<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u683c\u5f0f\u5316\u65b9\u6cd5\u4f7f\u8f93\u51fa\u66f4\u5177\u53ef\u8bfb\u6027\uff0c\u5c24\u5176\u662f\u5f53\u9700\u8981\u8f93\u51fa\u591a\u4e2a\u53d8\u91cf\u65f6\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001\u4f7f\u7528\u8c03\u8bd5\u5668<\/p>\n<\/p>\n<p><p>\u8c03\u8bd5\u5668\u662f\u4e00\u79cd\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u5141\u8bb8\u4f60\u5728\u7a0b\u5e8f\u6267\u884c\u8fc7\u7a0b\u4e2d\u67e5\u770b\u548c\u4fee\u6539\u53d8\u91cf\u7684\u503c\u3002Python \u7684\u591a\u79cd\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u90fd\u5185\u7f6e\u4e86\u8c03\u8bd5\u5668\u529f\u80fd\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528 PDB \u8c03\u8bd5\u5668<\/strong><\/p>\n<\/p>\n<p><p>Python \u81ea\u5e26\u7684 PDB \u8c03\u8bd5\u5668\u5141\u8bb8\u4f60\u9010\u884c\u6267\u884c\u4ee3\u7801\uff0c\u5e76\u5728\u6267\u884c\u8fc7\u7a0b\u4e2d\u67e5\u770b\u548c\u4fee\u6539\u53d8\u91cf\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pdb<\/p>\n<p>x = 10<\/p>\n<p>pdb.set_trace()  # \u8bbe\u7f6e\u65ad\u70b9<\/p>\n<p>y = x + 5<\/p>\n<p>print(y)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5f53\u7a0b\u5e8f\u8fd0\u884c\u5230 <code>pdb.set_trace()<\/code> \u65f6\uff0c\u7a0b\u5e8f\u4f1a\u6682\u505c\uff0c\u4f60\u53ef\u4ee5\u5728\u63a7\u5236\u53f0\u8f93\u5165 <code>print(x)<\/code> \u67e5\u770b\u53d8\u91cf\u7684\u503c\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528 IDE \u8c03\u8bd5\u5668<\/strong><\/p>\n<\/p>\n<p><p>\u5927\u591a\u6570 Python IDE\uff0c\u5982 PyCharm\u3001VSCode\uff0c\u5185\u7f6e\u4e86\u8c03\u8bd5\u5de5\u5177\u3002\u901a\u8fc7\u5728\u4ee3\u7801\u884c\u4e0a\u8bbe\u7f6e\u65ad\u70b9\uff0c\u4f60\u53ef\u4ee5\u5728\u65ad\u70b9\u5904\u6682\u505c\u7a0b\u5e8f\uff0c\u5e76\u67e5\u770b\u5f53\u524d\u4f5c\u7528\u57df\u5185\u6240\u6709\u53d8\u91cf\u7684\u503c\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u4f7f\u7528\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668<\/p>\n<\/p>\n<p><p>Python \u7684\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668\uff08\u5982 Jupyter Notebook \u6216 IPython\uff09\u63d0\u4f9b\u4e86\u5b9e\u65f6\u67e5\u770b\u53d8\u91cf\u503c\u7684\u529f\u80fd\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>Jupyter Notebook<\/strong><\/p>\n<\/p>\n<p><p>\u5728 Jupyter Notebook \u4e2d\uff0c\u6bcf\u4e2a\u4ee3\u7801\u5355\u5143\u683c\u6267\u884c\u540e\uff0c\u53d8\u91cf\u7684\u503c\u90fd\u53ef\u4ee5\u5728\u540e\u7eed\u5355\u5143\u683c\u4e2d\u76f4\u63a5\u8c03\u7528\u548c\u67e5\u770b\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">x = 10<\/p>\n<p>x  # \u5728\u65b0\u7684\u5355\u5143\u683c\u4e2d\u67e5\u770b x \u7684\u503c<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>IPython<\/strong><\/p>\n<\/p>\n<p><p>IPython \u63d0\u4f9b\u4e86\u589e\u5f3a\u7684\u4ea4\u4e92\u5f0f Python \u4f1a\u8bdd\uff0c\u4f60\u53ef\u4ee5\u5728\u5176\u4e2d\u6267\u884c\u4ee3\u7801\u5e76\u7acb\u5373\u67e5\u770b\u53d8\u91cf\u7684\u7ed3\u679c\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u65e5\u5fd7\u8bb0\u5f55<\/p>\n<\/p>\n<p><p>\u5728\u751f\u4ea7\u73af\u5883\u4e2d\uff0c\u4f7f\u7528\u65e5\u5fd7\u8bb0\u5f55\u800c\u975e\u6253\u5370\u8f93\u51fa\u662f\u4e00\u79cd\u66f4\u4f18\u96c5\u548c\u53ef\u7ef4\u62a4\u7684\u67e5\u770b\u53d8\u91cf\u503c\u7684\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528 logging \u6a21\u5757<\/strong><\/p>\n<\/p>\n<p><p>Python \u63d0\u4f9b\u4e86 <code>logging<\/code> \u6a21\u5757\uff0c\u7528\u4e8e\u751f\u6210\u65e5\u5fd7\u4fe1\u606f\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u914d\u7f6e\u65e5\u5fd7\u7ea7\u522b\u548c\u8f93\u51fa\u683c\u5f0f\u6765\u8bb0\u5f55\u53d8\u91cf\u503c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import logging<\/p>\n<p>logging.basicConfig(level=logging.INFO)<\/p>\n<p>x = 10<\/p>\n<p>logging.info(f&quot;x value: {x}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u65e5\u5fd7\u8bb0\u5f55\u53ef\u4ee5\u5e2e\u52a9\u4f60\u8ffd\u8e2a\u7a0b\u5e8f\u7684\u8fd0\u884c\u72b6\u6001\uff0c\u5e76\u63d0\u4f9b\u66f4\u8be6\u7ec6\u7684\u8c03\u8bd5\u4fe1\u606f\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e94\u3001\u4f7f\u7528\u65ad\u8a00<\/p>\n<\/p>\n<p><p>\u65ad\u8a00\u8bed\u53e5\u7528\u4e8e\u9a8c\u8bc1\u7a0b\u5e8f\u4e2d\u7684\u5047\u8bbe\uff0c\u5e76\u5728\u5047\u8bbe\u5931\u8d25\u65f6\u629b\u51fa\u5f02\u5e38\u3002\u8fd9\u53ef\u4ee5\u5e2e\u52a9\u4f60\u5728\u8c03\u8bd5\u9636\u6bb5\u68c0\u67e5\u53d8\u91cf\u7684\u503c\u662f\u5426\u7b26\u5408\u9884\u671f\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u57fa\u672c\u7528\u6cd5<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528 <code>assert<\/code> \u8bed\u53e5\u68c0\u67e5\u53d8\u91cf\u503c\u662f\u5426\u6ee1\u8db3\u67d0\u4e2a\u6761\u4ef6\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">x = 10<\/p>\n<p>assert x == 10, &quot;x should be 10&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5982\u679c <code>x<\/code> \u7684\u503c\u4e0d\u662f 10\uff0c\u7a0b\u5e8f\u4f1a\u629b\u51fa <code>AssertionError<\/code> \u5f02\u5e38\uff0c\u5e76\u663e\u793a\u6307\u5b9a\u7684\u9519\u8bef\u4fe1\u606f\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u516d\u3001\u4f7f\u7528\u7b2c\u4e09\u65b9\u5e93<\/p>\n<\/p>\n<p><p>Python \u793e\u533a\u63d0\u4f9b\u4e86\u8bb8\u591a\u7b2c\u4e09\u65b9\u5e93\uff0c\u53ef\u4ee5\u5e2e\u52a9\u4f60\u66f4\u65b9\u4fbf\u5730\u67e5\u770b\u548c\u8c03\u8bd5\u53d8\u91cf\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528 IPython \u7684 display<\/strong><\/p>\n<\/p>\n<p><p>IPython \u63d0\u4f9b\u4e86 <code>display<\/code> \u51fd\u6570\uff0c\u53ef\u4ee5\u66f4\u597d\u5730\u5c55\u793a\u590d\u6742\u6570\u636e\u7ed3\u6784\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from IPython.display import display<\/p>\n<p>data = {&#39;name&#39;: &#39;Alice&#39;, &#39;age&#39;: 30}<\/p>\n<p>display(data)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528 PrettyPrint<\/strong><\/p>\n<\/p>\n<p><p><code>pprint<\/code> \u6a21\u5757\u63d0\u4f9b\u4e86\u66f4\u7f8e\u89c2\u7684\u65b9\u5f0f\u6765\u6253\u5370\u6570\u636e\u7ed3\u6784\uff0c\u7279\u522b\u662f\u5b57\u5178\u548c\u5217\u8868\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pprint<\/p>\n<p>data = {&#39;name&#39;: &#39;Alice&#39;, &#39;age&#39;: 30, &#39;hobbies&#39;: [&#39;reading&#39;, &#39;cycling&#39;]}<\/p>\n<p>pprint.pprint(data)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><code>pprint<\/code> \u4f1a\u81ea\u52a8\u683c\u5f0f\u5316\u8f93\u51fa\uff0c\u4f7f\u5176\u66f4\u6613\u4e8e\u9605\u8bfb\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e03\u3001\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u67e5\u770b Python \u4e2d\u7684\u53d8\u91cf\u503c\u6709\u591a\u79cd\u65b9\u6cd5\uff0c\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u53d6\u51b3\u4e8e\u4f60\u7684\u5177\u4f53\u9700\u6c42\u548c\u5f00\u53d1\u73af\u5883\u3002\u5728\u5f00\u53d1\u521d\u671f\u548c\u8c03\u8bd5\u9636\u6bb5\uff0c<code>print()<\/code> \u51fd\u6570\u548c\u8c03\u8bd5\u5668\u662f\u6700\u5e38\u7528\u7684\u5de5\u5177\uff0c\u800c\u5728\u751f\u4ea7\u73af\u5883\u4e2d\uff0c\u4f7f\u7528\u65e5\u5fd7\u8bb0\u5f55\u5219\u66f4\u4e3a\u5408\u7406\u3002\u6b64\u5916\uff0c\u501f\u52a9\u7b2c\u4e09\u65b9\u5e93\u53ef\u4ee5\u8fdb\u4e00\u6b65\u589e\u5f3a\u67e5\u770b\u548c\u8c03\u8bd5\u53d8\u91cf\u7684\u80fd\u529b\u3002\u901a\u8fc7\u7075\u6d3b\u8fd0\u7528\u8fd9\u4e9b\u5de5\u5177\u548c\u6280\u672f\uff0c\u4f60\u53ef\u4ee5\u66f4\u6709\u6548\u5730\u76d1\u63a7\u548c\u4f18\u5316 Python \u7a0b\u5e8f\u7684\u6267\u884c\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u67e5\u770b\u53d8\u91cf\u7684\u503c\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u7b80\u5355\u5730\u8f93\u5165\u53d8\u91cf\u540d\u5e76\u6267\u884c\u4ee3\u7801\u6765\u67e5\u770b\u5176\u503c\u3002\u4f8b\u5982\uff0c\u5982\u679c\u4f60\u6709\u4e00\u4e2a\u53d8\u91cf<code>x<\/code>\uff0c\u53ea\u9700\u5728\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668\u4e2d\u8f93\u5165<code>x<\/code>\u5e76\u56de\u8f66\uff0c\u5c31\u53ef\u4ee5\u770b\u5230\u5176\u5f53\u524d\u7684\u503c\u3002\u6b64\u5916\uff0c\u5728\u811a\u672c\u4e2d\u4f7f\u7528<code>print(x)<\/code>\u51fd\u6570\u4e5f\u53ef\u4ee5\u8f93\u51fa\u53d8\u91cf\u7684\u503c\u3002<\/p>\n<p><strong>\u6709\u6ca1\u6709\u5de5\u5177\u53ef\u4ee5\u5e2e\u52a9\u6211\u66f4\u65b9\u4fbf\u5730\u67e5\u770bPython\u53d8\u91cf\u7684\u503c\uff1f<\/strong><br \/>\u662f\u7684\uff0c\u8bb8\u591a\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u548c\u4ee3\u7801\u7f16\u8f91\u5668\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u8c03\u8bd5\u5de5\u5177\u3002\u4f8b\u5982\uff0cPyCharm\u548cVisual Studio Code\u90fd\u5141\u8bb8\u4f60\u5728\u8c03\u8bd5\u6a21\u5f0f\u4e0b\u8bbe\u7f6e\u65ad\u70b9\uff0c\u5e76\u67e5\u770b\u53d8\u91cf\u7684\u5f53\u524d\u503c\u3002\u6b64\u5916\uff0c\u4f7f\u7528Jupyter Notebook\u65f6\uff0c\u53ef\u4ee5\u5728\u5355\u5143\u683c\u4e2d\u76f4\u63a5\u67e5\u770b\u53d8\u91cf\u7684\u503c\uff0c\u5c24\u5176\u9002\u5408\u6570\u636e\u5206\u6790\u548c\u53ef\u89c6\u5316\u4efb\u52a1\u3002<\/p>\n<p><strong>\u5982\u4f55\u67e5\u770bPython\u5b57\u5178\u6216\u5217\u8868\u4e2d\u7684\u7279\u5b9a\u503c\uff1f<\/strong><br \/>\u5bf9\u4e8e\u5b57\u5178\uff0c\u53ef\u4ee5\u901a\u8fc7\u952e\u6765\u8bbf\u95ee\u7279\u5b9a\u7684\u503c\u3002\u4f8b\u5982\uff0c\u5982\u679c\u4f60\u6709\u4e00\u4e2a\u5b57\u5178<code>my_dict<\/code>\uff0c\u60f3\u67e5\u770b\u952e\u4e3a<code>&#39;key1&#39;<\/code>\u7684\u503c\uff0c\u53ef\u4ee5\u4f7f\u7528<code>my_dict[&#39;key1&#39;]<\/code>\u6765\u83b7\u53d6\u5b83\u3002\u5bf9\u4e8e\u5217\u8868\uff0c\u4f7f\u7528\u7d22\u5f15\u8bbf\u95ee\u7279\u5b9a\u5143\u7d20\uff0c\u6bd4\u5982<code>my_list[0]<\/code>\u53ef\u4ee5\u67e5\u770b\u5217\u8868\u4e2d\u7684\u7b2c\u4e00\u4e2a\u5143\u7d20\u3002\u5982\u679c\u4f60\u5e0c\u671b\u67e5\u770b\u6240\u6709\u7684\u503c\uff0c\u53ef\u4ee5\u4f7f\u7528\u5faa\u73af\u904d\u5386\u5b57\u5178\u6216\u5217\u8868\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u67e5\u770b Python \u4e2d\u7684\u53d8\u91cf\u503c\uff0c\u53ef\u4ee5\u4f7f\u7528 print() \u51fd\u6570\u3001\u4f7f\u7528\u8c03\u8bd5\u5668\u3001\u6216\u8005\u901a\u8fc7\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668\u67e5\u770b\u3002\u5176\u4e2d\uff0c [&hellip;]","protected":false},"author":3,"featured_media":978499,"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\/978490"}],"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=978490"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/978490\/revisions"}],"predecessor-version":[{"id":978503,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/978490\/revisions\/978503"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/978499"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=978490"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=978490"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=978490"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}