{"id":1166314,"date":"2025-01-15T15:30:49","date_gmt":"2025-01-15T07:30:49","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1166314.html"},"modified":"2025-01-15T15:30:52","modified_gmt":"2025-01-15T07:30:52","slug":"python%e4%b8%ad%e5%a6%82%e4%bd%95%e8%a1%a8%e8%be%beyx","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1166314.html","title":{"rendered":"python\u4e2d\u5982\u4f55\u8868\u8fbey=x"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25210453\/ce434cf0-f444-4cd2-a8ab-3c87dee46632.webp\" alt=\"python\u4e2d\u5982\u4f55\u8868\u8fbey=x\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\uff0c\u8868\u8fbey=x\u53ef\u4ee5\u4f7f\u7528\u8d4b\u503c\u8fd0\u7b97\u7b26\u201c=\u201d\u3002\u5177\u4f53\u5730\uff0cy=x\u8868\u793a\u5c06\u53d8\u91cfx\u7684\u503c\u8d4b\u7ed9\u53d8\u91cfy\u3002\u4ee5\u4e0b\u662f\u5173\u4e8ePython\u4e2d\u8d4b\u503c\u8fd0\u7b97\u7b26\u548c\u53d8\u91cf\u7684\u4e00\u4e9b\u8be6\u7ec6\u4fe1\u606f\uff1a<\/strong><\/p>\n<\/p>\n<p><p><strong>\u4e00\u3001\u8d4b\u503c\u8fd0\u7b97\u7b26<\/strong><\/p>\n<\/p>\n<p><p>Python\u4e2d\u7684\u8d4b\u503c\u8fd0\u7b97\u7b26\u201c=\u201d\u7528\u4e8e\u5c06\u53f3\u4fa7\u8868\u8fbe\u5f0f\u7684\u503c\u8d4b\u7ed9\u5de6\u4fa7\u7684\u53d8\u91cf\u3002<strong>\u4f8b\u5982\uff1a<\/strong><\/p>\n<\/p>\n<p><pre><code class=\"language-python\">x = 5  # \u5c06\u6574\u65705\u8d4b\u7ed9\u53d8\u91cfx<\/p>\n<p>y = x  # \u5c06\u53d8\u91cfx\u7684\u503c\u8d4b\u7ed9\u53d8\u91cfy<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u4ee3\u7801\u4e2d\uff0c\u53d8\u91cfx\u7684\u503c\u662f5\uff0c\u7136\u540e\u5c06x\u7684\u503c\u8d4b\u7ed9y\uff0c\u6240\u4ee5y\u7684\u503c\u4e5f\u662f5\u3002<\/p>\n<\/p>\n<p><p><strong>\u4e8c\u3001\u53d8\u91cf\u7684\u547d\u540d\u89c4\u5219<\/strong><\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u53d8\u91cf\u540d\u5fc5\u987b\u9075\u5faa\u4ee5\u4e0b\u89c4\u5219\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u53d8\u91cf\u540d\u53ea\u80fd\u5305\u542b\u5b57\u6bcd\uff08a-z\uff0cA-Z\uff09\u3001\u6570\u5b57\uff080-9\uff09\u548c\u4e0b\u5212\u7ebf\uff08_\uff09\u3002<\/strong><\/li>\n<li><strong>\u53d8\u91cf\u540d\u4e0d\u80fd\u4ee5\u6570\u5b57\u5f00\u5934\u3002<\/strong><\/li>\n<li><strong>\u53d8\u91cf\u540d\u533a\u5206\u5927\u5c0f\u5199\u3002<\/strong><\/li>\n<li><strong>\u4e0d\u80fd\u4f7f\u7528Python\u7684\u5173\u952e\u5b57\u4f5c\u4e3a\u53d8\u91cf\u540d\u3002<\/strong><\/li>\n<\/ol>\n<p><p><strong>\u4e09\u3001\u53d8\u91cf\u7c7b\u578b<\/strong><\/p>\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\u786e\u5b9a\u7684\uff0c\u800c\u4e0d\u662f\u5728\u7f16\u8bd1\u65f6\u786e\u5b9a\u7684\u3002<strong>\u53d8\u91cf\u53ef\u4ee5\u5b58\u50a8\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\uff0c\u5305\u62ec\u6574\u6570\u3001\u6d6e\u70b9\u6570\u3001\u5b57\u7b26\u4e32\u3001\u5217\u8868\u3001\u5b57\u5178\u7b49\u3002<\/strong><\/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;Alice&quot; # \u5b57\u7b26\u4e32<\/p>\n<p>numbers = [1, 2, 3]  # \u5217\u8868<\/p>\n<p>person = {&quot;name&quot;: &quot;Bob&quot;, &quot;age&quot;: 25}  # \u5b57\u5178<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u56db\u3001\u53d8\u91cf\u7684\u4f5c\u7528\u57df<\/strong><\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u53d8\u91cf\u7684\u4f5c\u7528\u57df\u6307\u7684\u662f\u53d8\u91cf\u5728\u7a0b\u5e8f\u4e2d\u7684\u53ef\u89c1\u8303\u56f4\u3002\u4e3b\u8981\u6709\u4ee5\u4e0b\u51e0\u79cd\u4f5c\u7528\u57df\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u5168\u5c40\u4f5c\u7528\u57df\uff1a\u5728\u6574\u4e2a\u7a0b\u5e8f\u4e2d\u53ef\u89c1\u7684\u53d8\u91cf\u3002<\/strong><\/li>\n<li><strong>\u5c40\u90e8\u4f5c\u7528\u57df\uff1a\u5728\u51fd\u6570\u6216\u4ee3\u7801\u5757\u5185\u90e8\u53ef\u89c1\u7684\u53d8\u91cf\u3002<\/strong><\/li>\n<\/ol>\n<p><p><strong>\u4e94\u3001\u53d8\u91cf\u7684\u5f15\u7528\u548c\u5bf9\u8c61<\/strong><\/p>\n<\/p>\n<p><p>Python\u4e2d\u7684\u53d8\u91cf\u662f\u5bf9\u5bf9\u8c61\u7684\u5f15\u7528\u3002<strong>\u5f53\u4f60\u5c06\u4e00\u4e2a\u53d8\u91cf\u8d4b\u503c\u7ed9\u53e6\u4e00\u4e2a\u53d8\u91cf\u65f6\uff0c\u5b9e\u9645\u4e0a\u662f\u5c06\u5bf9\u8c61\u7684\u5f15\u7528\u8d4b\u7ed9\u4e86\u65b0\u7684\u53d8\u91cf\u3002<\/strong><\/p>\n<\/p>\n<p><pre><code class=\"language-python\">x = [1, 2, 3]  # \u5217\u8868\u5bf9\u8c61<\/p>\n<p>y = x          # \u5c06x\u7684\u5f15\u7528\u8d4b\u7ed9y<\/p>\n<p>y.append(4)    # \u4fee\u6539y\uff0c\u4e5f\u4f1a\u5f71\u54cdx<\/p>\n<p>print(x)  # \u8f93\u51fa\uff1a[1, 2, 3, 4]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u4ee3\u7801\u4e2d\uff0cx\u548cy\u90fd\u5f15\u7528\u540c\u4e00\u4e2a\u5217\u8868\u5bf9\u8c61\uff0c\u56e0\u6b64\u5bf9y\u7684\u4fee\u6539\u4e5f\u4f1a\u5f71\u54cdx\u3002<\/p>\n<\/p>\n<p><p><strong>\u516d\u3001\u5e38\u89c1\u7684\u8d4b\u503c\u8fd0\u7b97\u7b26<\/strong><\/p>\n<\/p>\n<p><p>\u9664\u4e86\u57fa\u672c\u7684\u8d4b\u503c\u8fd0\u7b97\u7b26\u201c=\u201d\uff0cPython\u8fd8\u63d0\u4f9b\u4e86\u4e00\u4e9b\u590d\u5408\u8d4b\u503c\u8fd0\u7b97\u7b26\uff0c\u7528\u4e8e\u7b80\u5316\u8868\u8fbe\u5f0f\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">x = 5<\/p>\n<p>x += 2  # \u7b49\u4ef7\u4e8e x = x + 2<\/p>\n<p>x -= 1  # \u7b49\u4ef7\u4e8e x = x - 1<\/p>\n<p>x *= 3  # \u7b49\u4ef7\u4e8e x = x * 3<\/p>\n<p>x \/= 2  # \u7b49\u4ef7\u4e8e x = x \/ 2<\/p>\n<p>x %= 3  # \u7b49\u4ef7\u4e8e x = x % 3<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e9b\u590d\u5408\u8d4b\u503c\u8fd0\u7b97\u7b26\u53ef\u4ee5\u4f7f\u4ee3\u7801\u66f4\u52a0\u7b80\u6d01\u548c\u6613\u8bfb\u3002<\/p>\n<\/p>\n<p><p><strong>\u4e03\u3001\u53d8\u91cf\u89e3\u5305<\/strong><\/p>\n<\/p>\n<p><p>Python\u652f\u6301\u591a\u53d8\u91cf\u540c\u65f6\u8d4b\u503c\u7684\u529f\u80fd\uff0c\u8fd9\u88ab\u79f0\u4e3a\u201c\u53d8\u91cf\u89e3\u5305\u201d\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">a, b, c = 1, 2, 3  # \u5c061\u8d4b\u7ed9a\uff0c2\u8d4b\u7ed9b\uff0c3\u8d4b\u7ed9c<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u5f0f\u53ef\u4ee5\u65b9\u4fbf\u5730\u4ea4\u6362\u53d8\u91cf\u7684\u503c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">a, b = b, a  # \u4ea4\u6362a\u548cb\u7684\u503c<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u516b\u3001\u5168\u5c40\u53d8\u91cf\u548c\u5c40\u90e8\u53d8\u91cf<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u51fd\u6570\u5185\u90e8\uff0c\u53ef\u4ee5\u4f7f\u7528\u5173\u952e\u5b57global\u58f0\u660e\u5168\u5c40\u53d8\u91cf\uff0c\u4fee\u6539\u5168\u5c40\u53d8\u91cf\u7684\u503c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">x = 10  # \u5168\u5c40\u53d8\u91cf<\/p>\n<p>def modify_global():<\/p>\n<p>    global x<\/p>\n<p>    x = 20  # \u4fee\u6539\u5168\u5c40\u53d8\u91cf\u7684\u503c<\/p>\n<p>modify_global()<\/p>\n<p>print(x)  # \u8f93\u51fa\uff1a20<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5982\u679c\u4e0d\u4f7f\u7528global\u5173\u952e\u5b57\uff0c\u51fd\u6570\u5185\u90e8\u7684\u53d8\u91cf\u5c06\u88ab\u89c6\u4e3a\u5c40\u90e8\u53d8\u91cf\uff0c\u4e0d\u4f1a\u5f71\u54cd\u5168\u5c40\u53d8\u91cf\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">x = 10  # \u5168\u5c40\u53d8\u91cf<\/p>\n<p>def modify_local():<\/p>\n<p>    x = 20  # \u5c40\u90e8\u53d8\u91cf\uff0c\u4e0d\u5f71\u54cd\u5168\u5c40\u53d8\u91cf<\/p>\n<p>    print(x)  # \u8f93\u51fa\uff1a20<\/p>\n<p>modify_local()<\/p>\n<p>print(x)  # \u8f93\u51fa\uff1a10<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u4e5d\u3001\u5e38\u89c1\u9519\u8bef\u548c\u8c03\u8bd5<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u4f7f\u7528\u53d8\u91cf\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e9b\u5e38\u89c1\u9519\u8bef\uff0c\u4f8b\u5982\u672a\u5b9a\u4e49\u53d8\u91cf\u3001\u53d8\u91cf\u547d\u540d\u51b2\u7a81\u7b49\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">print(y)  # NameError: name &#39;y&#39; is not defined<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e3a\u4e86\u907f\u514d\u8fd9\u4e9b\u9519\u8bef\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u65b9\u6cd5\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u786e\u4fdd\u5728\u4f7f\u7528\u53d8\u91cf\u4e4b\u524d\u5bf9\u5176\u8fdb\u884c\u521d\u59cb\u5316\u3002<\/strong><\/li>\n<li><strong>\u907f\u514d\u5728\u4e0d\u540c\u4f5c\u7528\u57df\u4e2d\u4f7f\u7528\u76f8\u540c\u7684\u53d8\u91cf\u540d\u3002<\/strong><\/li>\n<li><strong>\u4f7f\u7528\u8c03\u8bd5\u5de5\u5177\u548c\u65e5\u5fd7\u8bb0\u5f55\u6765\u8ddf\u8e2a\u53d8\u91cf\u7684\u503c\u548c\u53d8\u5316\u3002<\/strong><\/li>\n<\/ol>\n<p><p><strong>\u5341\u3001\u603b\u7ed3<\/strong><\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u8d4b\u503c\u8fd0\u7b97\u7b26\u201c=\u201d\u7528\u4e8e\u5c06\u503c\u8d4b\u7ed9\u53d8\u91cf\uff0c\u53d8\u91cf\u53ef\u4ee5\u5b58\u50a8\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u3002<strong>\u7406\u89e3\u53d8\u91cf\u7684\u547d\u540d\u89c4\u5219\u3001\u4f5c\u7528\u57df\u3001\u5f15\u7528\u548c\u5bf9\u8c61\u7b49\u6982\u5ff5\uff0c\u5bf9\u4e8e\u7f16\u5199\u9ad8\u6548\u548c\u53ef\u7ef4\u62a4\u7684\u4ee3\u7801\u975e\u5e38\u91cd\u8981\u3002<\/strong>\u901a\u8fc7\u590d\u5408\u8d4b\u503c\u8fd0\u7b97\u7b26\u3001\u53d8\u91cf\u89e3\u5305\u7b49\u7279\u6027\uff0c\u53ef\u4ee5\u4f7f\u4ee3\u7801\u66f4\u52a0\u7b80\u6d01\u548c\u6613\u8bfb\u3002<strong>\u5728\u5b9e\u9645\u7f16\u7a0b\u4e2d\uff0c\u6ce8\u610f\u907f\u514d\u5e38\u89c1\u9519\u8bef\uff0c\u5e76\u4f7f\u7528\u8c03\u8bd5\u5de5\u5177\u6765\u786e\u4fdd\u4ee3\u7801\u7684\u6b63\u786e\u6027\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u5bf9\u4e0a\u8ff0\u5185\u5bb9\u7684\u8be6\u7ec6\u8bb2\u89e3\uff0c\u6211\u4eec\u53ef\u4ee5\u66f4\u597d\u5730\u7406\u89e3\u548c\u638c\u63e1Python\u4e2d\u7684\u53d8\u91cf\u8d4b\u503c\u548c\u76f8\u5173\u6982\u5ff5\uff0c\u4ece\u800c\u63d0\u9ad8\u7f16\u7a0b\u80fd\u529b\u548c\u4ee3\u7801\u8d28\u91cf\u3002\u5e0c\u671b\u8fd9\u7bc7\u6587\u7ae0\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9\uff0c\u5982\u679c\u6709\u4efb\u4f55\u95ee\u9898\u6216\u5efa\u8bae\uff0c\u6b22\u8fce\u968f\u65f6\u4ea4\u6d41\u548c\u8ba8\u8bba\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5b9e\u73b0y=x\u7684\u8868\u8fbe\u5f0f\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u7b80\u5355\u7684\u8d4b\u503c\u8bed\u53e5\u6765\u8868\u793ay=x\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528\u53d8\u91cf\u6765\u5b58\u50a8x\u7684\u503c\uff0c\u7136\u540e\u5c06y\u8d4b\u503c\u4e3ax\u3002\u4f8b\u5982\uff1a  <\/p>\n<pre><code class=\"language-python\">x = 5  # \u4f60\u53ef\u4ee5\u5c065\u66ff\u6362\u4e3a\u4efb\u4f55\u5176\u4ed6\u6570\u5b57\u6216\u8868\u8fbe\u5f0f\ny = x\nprint(y)  # \u8f93\u51fa\u5c06\u662f5\n<\/code><\/pre>\n<p><strong>\u5728Python\u4e2d\u5982\u4f55\u521b\u5efa\u4e00\u4e2a\u51fd\u6570\u6765\u8868\u793ay=x\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528\u51fd\u6570\u5b9a\u4e49\u6765\u5b9e\u73b0y=x\u7684\u8868\u8fbe\u5f0f\u3002\u4f8b\u5982\uff0c\u5b9a\u4e49\u4e00\u4e2a\u51fd\u6570\u63a5\u53d7x\u4f5c\u4e3a\u53c2\u6570\uff0c\u5e76\u8fd4\u56de\u76f8\u540c\u7684\u503c\uff1a  <\/p>\n<pre><code class=\"language-python\">def f(x):\n    return x\n\nresult = f(10)  # \u8c03\u7528\u51fd\u6570\uff0c\u4f20\u516510\nprint(result)  # \u8f93\u51fa\u5c06\u662f10\n<\/code><\/pre>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u4f7f\u7528numpy\u5e93\u8868\u793ay=x\uff1f<\/strong><br \/>\u5982\u679c\u4f60\u9700\u8981\u5904\u7406\u6570\u7ec4\u6216\u66f4\u590d\u6742\u7684\u6570\u5b66\u8fd0\u7b97\uff0c\u53ef\u4ee5\u4f7f\u7528numpy\u5e93\u3002\u901a\u8fc7numpy\u53ef\u4ee5\u8f7b\u677e\u5730\u5bf9\u6570\u7ec4\u8fdb\u884c\u64cd\u4f5c\uff0cy\u5c06\u7b49\u4e8ex\u7684\u6bcf\u4e00\u4e2a\u5143\u7d20\uff1a  <\/p>\n<pre><code class=\"language-python\">import numpy as np\n\nx = np.array([1, 2, 3, 4, 5])\ny = x  # y\u73b0\u5728\u662f\u4e00\u4e2a\u4e0ex\u76f8\u540c\u7684\u6570\u7ec4\nprint(y)  # \u8f93\u51fa\u5c06\u662f[1 2 3 4 5]\n<\/code><\/pre>\n<p><strong>\u5728Python\u4e2d\u5982\u4f55\u5c06y=x\u5e94\u7528\u4e8e\u6570\u636e\u53ef\u89c6\u5316\uff1f<\/strong><br \/>\u4f7f\u7528matplotlib\u5e93\uff0c\u53ef\u4ee5\u8f7b\u677e\u7ed8\u5236y=x\u7684\u56fe\u5f62\u3002\u4ee5\u4e0b\u662f\u7ed8\u5236y=x\u76f4\u7ebf\u7684\u793a\u4f8b\uff1a  <\/p>\n<pre><code class=\"language-python\">import matplotlib.pyplot as plt\n\nx = np.linspace(-10, 10, 100)  # \u751f\u6210\u4ece-10\u523010\u7684100\u4e2a\u70b9\ny = x  # y=x\nplt.plot(x, y)\nplt.title(&#39;Graph of y = x&#39;)\nplt.xlabel(&#39;x&#39;)\nplt.ylabel(&#39;y&#39;)\nplt.grid()\nplt.axhline(0, color=&#39;black&#39;,linewidth=0.5, ls=&#39;--&#39;)\nplt.axvline(0, color=&#39;black&#39;,linewidth=0.5, ls=&#39;--&#39;)\nplt.show()\n<\/code><\/pre>\n<p>\u8fd9\u4e9b\u5e38\u89c1\u95ee\u9898\u53ca\u5176\u7b54\u6848\u5c06\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u7406\u89e3\u5982\u4f55\u5728Python\u4e2d\u8868\u8fbey=x\u7684\u4e0d\u540c\u65b9\u5f0f\u53ca\u5176\u5e94\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u8868\u8fbey=x\u53ef\u4ee5\u4f7f\u7528\u8d4b\u503c\u8fd0\u7b97\u7b26\u201c=\u201d\u3002\u5177\u4f53\u5730\uff0cy=x\u8868\u793a\u5c06\u53d8\u91cfx\u7684\u503c\u8d4b\u7ed9\u53d8\u91cfy\u3002\u4ee5\u4e0b\u662f\u5173\u4e8ePy [&hellip;]","protected":false},"author":3,"featured_media":1166319,"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\/1166314"}],"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=1166314"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1166314\/revisions"}],"predecessor-version":[{"id":1166320,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1166314\/revisions\/1166320"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1166319"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1166314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1166314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1166314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}