{"id":1119502,"date":"2025-01-08T18:45:17","date_gmt":"2025-01-08T10:45:17","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1119502.html"},"modified":"2025-01-08T18:45:20","modified_gmt":"2025-01-08T10:45:20","slug":"python%e5%a6%82%e4%bd%95%e5%ae%9a%e4%b9%89%e4%b8%80%e4%b8%aa%e5%8f%98%e9%87%8f%e7%9a%84%e5%80%bc","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1119502.html","title":{"rendered":"python\u5982\u4f55\u5b9a\u4e49\u4e00\u4e2a\u53d8\u91cf\u7684\u503c"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25082553\/31e8480c-531d-41ad-9bc1-138e0f20a36e.webp\" alt=\"python\u5982\u4f55\u5b9a\u4e49\u4e00\u4e2a\u53d8\u91cf\u7684\u503c\" \/><\/p>\n<p><p> \u5728Python\u4e2d\uff0c\u5b9a\u4e49\u4e00\u4e2a\u53d8\u91cf\u7684\u503c\u975e\u5e38\u7b80\u5355\u3002<strong>\u4f7f\u7528\u8d4b\u503c\u8fd0\u7b97\u7b26\uff08=\uff09\u3001\u53d8\u91cf\u540d\u5fc5\u987b\u4ee5\u5b57\u6bcd\u6216\u4e0b\u5212\u7ebf\u5f00\u5934\u3001\u53d8\u91cf\u540d\u4e0d\u80fd\u4f7f\u7528Python\u7684\u5173\u952e\u5b57<\/strong>\u3002\u4f8b\u5982\uff0c\u5b9a\u4e49\u4e00\u4e2a\u6574\u6570\u53d8\u91cf\u53ef\u4ee5\u4f7f\u7528<code>x = 10<\/code>\uff0c\u5b9a\u4e49\u4e00\u4e2a\u5b57\u7b26\u4e32\u53d8\u91cf\u53ef\u4ee5\u4f7f\u7528<code>name = &quot;John&quot;<\/code>. \u9700\u8981\u7279\u522b\u6ce8\u610f\u7684\u662f\uff0cPython\u662f\u4e00\u79cd\u52a8\u6001\u7c7b\u578b\u8bed\u8a00\uff0c\u8fd9\u610f\u5473\u7740\u53d8\u91cf\u7684\u7c7b\u578b\u662f\u5728\u8fd0\u884c\u65f6\u51b3\u5b9a\u7684\uff0c\u800c\u4e0d\u662f\u5728\u7f16\u8bd1\u65f6\u51b3\u5b9a\u7684\u3002\u8fd9\u63d0\u4f9b\u4e86\u5f88\u5927\u7684\u7075\u6d3b\u6027\uff0c\u4f46\u540c\u65f6\u4e5f\u8981\u6c42\u6211\u4eec\u5728\u4f7f\u7528\u53d8\u91cf\u65f6\u8981\u5c0f\u5fc3\uff0c\u786e\u4fdd\u53d8\u91cf\u7684\u7c7b\u578b\u7b26\u5408\u9884\u671f\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u8d4b\u503c\u8fd0\u7b97\u7b26\uff08=\uff09<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u8d4b\u503c\u8fd0\u7b97\u7b26\u662f\u7528\u6765\u5c06\u53f3\u4fa7\u7684\u503c\u8d4b\u7ed9\u5de6\u4fa7\u7684\u53d8\u91cf\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">x = 10<\/p>\n<p>name = &quot;John&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u4ee3\u7801\u4e2d\uff0c<code>x<\/code> \u88ab\u8d4b\u503c\u4e3a\u6574\u6570 10\uff0c\u800c <code>name<\/code> \u88ab\u8d4b\u503c\u4e3a\u5b57\u7b26\u4e32 &quot;John&quot;\u3002Python\u4f1a\u6839\u636e\u53f3\u4fa7\u7684\u503c\u81ea\u52a8\u63a8\u65ad\u53d8\u91cf\u7684\u7c7b\u578b\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u53d8\u91cf\u540d\u7684\u89c4\u5219<\/h3>\n<\/p>\n<ol>\n<li><strong>\u53d8\u91cf\u540d\u5fc5\u987b\u4ee5\u5b57\u6bcd\u6216\u4e0b\u5212\u7ebf\u5f00\u5934<\/strong>\uff1a\u4f8b\u5982\uff0c<code>_variable<\/code> \u6216 <code>variable<\/code> \u662f\u5408\u6cd5\u7684\u53d8\u91cf\u540d\u3002<\/li>\n<li><strong>\u53d8\u91cf\u540d\u4e0d\u80fd\u4f7f\u7528Python\u7684\u5173\u952e\u5b57<\/strong>\uff1a\u4f8b\u5982\uff0c<code>for<\/code>, <code>while<\/code>, <code>if<\/code>, <code>else<\/code> \u7b49\u662fPython\u7684\u5173\u952e\u5b57\uff0c\u4e0d\u80fd\u7528\u4f5c\u53d8\u91cf\u540d\u3002<\/li>\n<\/ol>\n<p><h3>\u4e09\u3001Python\u7684\u52a8\u6001\u7c7b\u578b<\/h3>\n<\/p>\n<p><p>Python\u662f\u4e00\u79cd\u52a8\u6001\u7c7b\u578b\u8bed\u8a00\uff0c\u8fd9\u610f\u5473\u7740\u53d8\u91cf\u7684\u7c7b\u578b\u662f\u5728\u8fd0\u884c\u65f6\u51b3\u5b9a\u7684\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">x = 10<\/p>\n<p>print(type(x))  # \u8f93\u51fa\uff1a&lt;class &#39;int&#39;&gt;<\/p>\n<p>x = &quot;hello&quot;<\/p>\n<p>print(type(x))  # \u8f93\u51fa\uff1a&lt;class &#39;str&#39;&gt;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u4ee3\u7801\u4e2d\uff0c<code>x<\/code> \u6700\u521d\u662f\u4e00\u4e2a\u6574\u6570\u7c7b\u578b\uff0c\u4f46\u540e\u6765\u88ab\u91cd\u65b0\u8d4b\u503c\u4e3a\u4e00\u4e2a\u5b57\u7b26\u4e32\u7c7b\u578b\u3002Python\u4f1a\u6839\u636e\u8d4b\u503c\u64cd\u4f5c\u81ea\u52a8\u8c03\u6574\u53d8\u91cf\u7684\u7c7b\u578b\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u53d8\u91cf\u7684\u4f5c\u7528\u57df<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u53d8\u91cf\u7684\u4f5c\u7528\u57df\u51b3\u5b9a\u4e86\u53d8\u91cf\u53ef\u4ee5\u5728\u54ea\u4e9b\u90e8\u5206\u88ab\u8bbf\u95ee\u3002\u901a\u5e38\uff0c\u53d8\u91cf\u7684\u4f5c\u7528\u57df\u5206\u4e3a\u5c40\u90e8\u4f5c\u7528\u57df\u548c\u5168\u5c40\u4f5c\u7528\u57df\u3002<\/p>\n<\/p>\n<p><h4>1. \u5c40\u90e8\u53d8\u91cf<\/h4>\n<\/p>\n<p><p>\u5c40\u90e8\u53d8\u91cf\u662f\u5728\u51fd\u6570\u5185\u90e8\u5b9a\u4e49\u7684\u53d8\u91cf\uff0c\u5176\u4f5c\u7528\u57df\u4ec5\u9650\u4e8e\u51fd\u6570\u5185\u90e8\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def my_function():<\/p>\n<p>    x = 10  # \u5c40\u90e8\u53d8\u91cf<\/p>\n<p>    print(x)<\/p>\n<p>my_function()<\/p>\n<p>print(x)  # \u8fd9\u5c06\u5bfc\u81f4\u9519\u8bef\uff0c\u56e0\u4e3a x \u5728\u51fd\u6570\u5916\u90e8\u4e0d\u53ef\u8bbf\u95ee<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u4ee3\u7801\u4e2d\uff0c<code>x<\/code> \u662f\u4e00\u4e2a\u5c40\u90e8\u53d8\u91cf\uff0c\u5176\u4f5c\u7528\u57df\u4ec5\u9650\u4e8e <code>my_function<\/code> \u51fd\u6570\u5185\u90e8\u3002\u5728\u51fd\u6570\u5916\u90e8\u8bbf\u95ee <code>x<\/code> \u5c06\u5bfc\u81f4\u9519\u8bef\u3002<\/p>\n<\/p>\n<p><h4>2. \u5168\u5c40\u53d8\u91cf<\/h4>\n<\/p>\n<p><p>\u5168\u5c40\u53d8\u91cf\u662f\u5728\u51fd\u6570\u5916\u90e8\u5b9a\u4e49\u7684\u53d8\u91cf\uff0c\u5176\u4f5c\u7528\u57df\u4e3a\u6574\u4e2a\u7a0b\u5e8f\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">x = 10  # \u5168\u5c40\u53d8\u91cf<\/p>\n<p>def my_function():<\/p>\n<p>    print(x)  # \u53ef\u4ee5\u5728\u51fd\u6570\u5185\u90e8\u8bbf\u95ee\u5168\u5c40\u53d8\u91cf<\/p>\n<p>my_function()<\/p>\n<p>print(x)  # \u53ef\u4ee5\u5728\u51fd\u6570\u5916\u90e8\u8bbf\u95ee\u5168\u5c40\u53d8\u91cf<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u4ee3\u7801\u4e2d\uff0c<code>x<\/code> \u662f\u4e00\u4e2a\u5168\u5c40\u53d8\u91cf\uff0c\u5176\u4f5c\u7528\u57df\u4e3a\u6574\u4e2a\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u5e38\u7528\u7684\u6570\u636e\u7c7b\u578b<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u5e38\u7528\u7684\u6570\u636e\u7c7b\u578b\u5305\u62ec\u6574\u6570\uff08int\uff09\u3001\u6d6e\u70b9\u6570\uff08float\uff09\u3001\u5b57\u7b26\u4e32\uff08str\uff09\u3001\u5217\u8868\uff08list\uff09\u3001\u5143\u7ec4\uff08tuple\uff09\u3001\u5b57\u5178\uff08dict\uff09\u7b49\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">x = 10  # \u6574\u6570<\/p>\n<p>y = 3.14  # \u6d6e\u70b9\u6570<\/p>\n<p>name = &quot;John&quot;  # \u5b57\u7b26\u4e32<\/p>\n<p>names = [&quot;Alice&quot;, &quot;Bob&quot;, &quot;Charlie&quot;]  # \u5217\u8868<\/p>\n<p>coordinates = (10, 20)  # \u5143\u7ec4<\/p>\n<p>person = {&quot;name&quot;: &quot;John&quot;, &quot;age&quot;: 30}  # \u5b57\u5178<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6bcf\u79cd\u6570\u636e\u7c7b\u578b\u90fd\u6709\u5176\u7279\u5b9a\u7684\u7528\u9014\u548c\u64cd\u4f5c\u65b9\u6cd5\u3002\u4f8b\u5982\uff0c\u5217\u8868\u662f\u4e00\u79cd\u6709\u5e8f\u7684\u96c6\u5408\uff0c\u53ef\u4ee5\u5305\u542b\u591a\u4e2a\u5143\u7d20\uff1b\u5143\u7ec4\u662f\u4e00\u79cd\u4e0d\u53ef\u53d8\u7684\u6709\u5e8f\u96c6\u5408\uff1b\u5b57\u5178\u662f\u4e00\u79cd\u952e\u503c\u5bf9\u7684\u96c6\u5408\uff0c\u7528\u4e8e\u5feb\u901f\u67e5\u627e\u548c\u5b58\u50a8\u6570\u636e\u3002<\/p>\n<\/p>\n<p><h3>\u516d\u3001\u53d8\u91cf\u7684\u8d4b\u503c\u548c\u7c7b\u578b\u8f6c\u6362<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u8d4b\u503c\u8fd0\u7b97\u7b26\u5c06\u4e00\u4e2a\u53d8\u91cf\u7684\u503c\u8d4b\u7ed9\u53e6\u4e00\u4e2a\u53d8\u91cf\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">x = 10<\/p>\n<p>y = x  # \u5c06 x \u7684\u503c\u8d4b\u7ed9 y<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6b64\u5916\uff0cPython\u8fd8\u63d0\u4f9b\u4e86\u4e00\u4e9b\u5185\u7f6e\u51fd\u6570\uff0c\u7528\u4e8e\u5728\u4e0d\u540c\u6570\u636e\u7c7b\u578b\u4e4b\u95f4\u8fdb\u884c\u8f6c\u6362\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">x = 10<\/p>\n<p>y = str(x)  # \u5c06\u6574\u6570 x \u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32<\/p>\n<p>z = float(x)  # \u5c06\u6574\u6570 x \u8f6c\u6362\u4e3a\u6d6e\u70b9\u6570<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5e38\u7528\u7684\u7c7b\u578b\u8f6c\u6362\u51fd\u6570\u5305\u62ec <code>int()<\/code>, <code>float()<\/code>, <code>str()<\/code>, <code>list()<\/code>, <code>tuple()<\/code>, <code>dict()<\/code> \u7b49\u3002<\/p>\n<\/p>\n<p><h3>\u4e03\u3001\u53d8\u91cf\u7684\u5220\u9664<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528 <code>del<\/code> \u5173\u952e\u5b57\u5220\u9664\u53d8\u91cf\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">x = 10<\/p>\n<p>del x  # \u5220\u9664\u53d8\u91cf x<\/p>\n<p>print(x)  # \u8fd9\u5c06\u5bfc\u81f4\u9519\u8bef\uff0c\u56e0\u4e3a x \u5df2\u7ecf\u88ab\u5220\u9664<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5220\u9664\u53d8\u91cf\u540e\uff0c\u518d\u6b21\u8bbf\u95ee\u8be5\u53d8\u91cf\u5c06\u5bfc\u81f4\u9519\u8bef\u3002<\/p>\n<\/p>\n<p><h3>\u516b\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5b9a\u4e49\u548c\u4f7f\u7528\u53d8\u91cf\u662f\u7f16\u7a0b\u7684\u57fa\u672c\u6280\u80fd\u3002\u5728Python\u4e2d\uff0c\u5b9a\u4e49\u53d8\u91cf\u975e\u5e38\u7b80\u5355\uff0c\u53ea\u9700\u8981\u4f7f\u7528\u8d4b\u503c\u8fd0\u7b97\u7b26\u5c06\u503c\u8d4b\u7ed9\u53d8\u91cf\u5373\u53ef\u3002\u540c\u65f6\uff0c\u6211\u4eec\u9700\u8981\u9075\u5b88\u4e00\u4e9b\u547d\u540d\u89c4\u5219\uff0c\u786e\u4fdd\u53d8\u91cf\u540d\u5408\u6cd5\u4e14\u5177\u6709\u53ef\u8bfb\u6027\u3002Python\u662f\u4e00\u79cd\u52a8\u6001\u7c7b\u578b\u8bed\u8a00\uff0c\u8fd9\u4f7f\u5f97\u53d8\u91cf\u7684\u4f7f\u7528\u66f4\u52a0\u7075\u6d3b\uff0c\u4f46\u4e5f\u8981\u6c42\u6211\u4eec\u5728\u4f7f\u7528\u53d8\u91cf\u65f6\u8981\u5c0f\u5fc3\uff0c\u786e\u4fdd\u53d8\u91cf\u7684\u7c7b\u578b\u7b26\u5408\u9884\u671f\u3002\u901a\u8fc7\u5408\u7406\u5730\u5b9a\u4e49\u548c\u4f7f\u7528\u53d8\u91cf\uff0c\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u53ef\u7ef4\u62a4\u6027\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u521b\u5efa\u4e00\u4e2a\u53d8\u91cf\u5e76\u8d4b\u503c\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u521b\u5efa\u53d8\u91cf\u975e\u5e38\u7b80\u5355\u3002\u53ea\u9700\u9009\u62e9\u4e00\u4e2a\u5408\u9002\u7684\u53d8\u91cf\u540d\uff0c\u5e76\u4f7f\u7528\u7b49\u53f7\uff08=\uff09\u5c06\u5176\u4e0e\u503c\u5173\u8054\u3002\u4f8b\u5982\uff0c\u60a8\u53ef\u4ee5\u8fd9\u6837\u5b9a\u4e49\u4e00\u4e2a\u53d8\u91cf\uff1a<code>my_variable = 10<\/code>\u3002\u8fd9\u5c06\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a<code>my_variable<\/code>\u7684\u53d8\u91cf\uff0c\u5e76\u5c06\u5176\u503c\u8bbe\u7f6e\u4e3a10\u3002Python\u5141\u8bb8\u4f7f\u7528\u5404\u79cd\u6570\u636e\u7c7b\u578b\uff0c\u5305\u62ec\u6574\u6570\u3001\u6d6e\u70b9\u6570\u3001\u5b57\u7b26\u4e32\u548c\u5e03\u5c14\u503c\u3002<\/p>\n<p><strong>Python\u4e2d\u53ef\u4ee5\u4f7f\u7528\u54ea\u4e9b\u6570\u636e\u7c7b\u578b\u6765\u5b9a\u4e49\u53d8\u91cf\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53d8\u91cf\u53ef\u4ee5\u5b58\u50a8\u591a\u79cd\u7c7b\u578b\u7684\u6570\u636e\uff0c\u5305\u62ec\u6574\u6570\uff08\u5982<code>5<\/code>\uff09\u3001\u6d6e\u70b9\u6570\uff08\u5982<code>3.14<\/code>\uff09\u3001\u5b57\u7b26\u4e32\uff08\u5982<code>&quot;Hello&quot;<\/code>\uff09\u3001\u5217\u8868\uff08\u5982<code>[1, 2, 3]<\/code>\uff09\u3001\u5b57\u5178\uff08\u5982<code>{&quot;key&quot;: &quot;value&quot;}<\/code>\uff09\u548c\u5e03\u5c14\u503c\uff08\u5982<code>True<\/code>\u6216<code>False<\/code>\uff09\u3002\u6bcf\u79cd\u6570\u636e\u7c7b\u578b\u90fd\u6709\u5176\u72ec\u7279\u7684\u7279\u6027\u548c\u7528\u9014\uff0c\u60a8\u53ef\u4ee5\u6839\u636e\u9700\u8981\u9009\u62e9\u9002\u5408\u7684\u7c7b\u578b\u3002<\/p>\n<p><strong>\u5982\u4f55\u4fee\u6539Python\u4e2d\u5df2\u5b9a\u4e49\u53d8\u91cf\u7684\u503c\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u60a8\u53ef\u4ee5\u968f\u65f6\u4fee\u6539\u5df2\u5b9a\u4e49\u53d8\u91cf\u7684\u503c\u3002\u53ea\u9700\u4f7f\u7528\u53d8\u91cf\u540d\u548c\u7b49\u53f7\u91cd\u65b0\u8d4b\u503c\u3002\u4f8b\u5982\uff0c\u5047\u8bbe\u60a8\u4e4b\u524d\u5b9a\u4e49\u4e86\u4e00\u4e2a\u53d8\u91cf<code>count = 10<\/code>\uff0c\u5982\u679c\u60a8\u60f3\u5c06\u5176\u503c\u66f4\u6539\u4e3a20\uff0c\u53ea\u9700\u6267\u884c<code>count = 20<\/code>\u3002\u8fd9\u4f1a\u5c06<code>count<\/code>\u53d8\u91cf\u7684\u503c\u66f4\u65b0\u4e3a20\uff0c\u800c\u539f\u6765\u7684\u503c\u5c06\u88ab\u8986\u76d6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u5b9a\u4e49\u4e00\u4e2a\u53d8\u91cf\u7684\u503c\u975e\u5e38\u7b80\u5355\u3002\u4f7f\u7528\u8d4b\u503c\u8fd0\u7b97\u7b26\uff08=\uff09\u3001\u53d8\u91cf\u540d\u5fc5\u987b\u4ee5\u5b57\u6bcd\u6216\u4e0b\u5212\u7ebf\u5f00\u5934\u3001\u53d8\u91cf\u540d\u4e0d\u80fd\u4f7f\u7528 [&hellip;]","protected":false},"author":3,"featured_media":1119507,"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\/1119502"}],"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=1119502"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1119502\/revisions"}],"predecessor-version":[{"id":1119509,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1119502\/revisions\/1119509"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1119507"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1119502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1119502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1119502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}