{"id":926179,"date":"2024-12-26T15:46:35","date_gmt":"2024-12-26T07:46:35","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/926179.html"},"modified":"2024-12-26T15:46:37","modified_gmt":"2024-12-26T07:46:37","slug":"python%e5%a6%82%e4%bd%95%e7%94%bb%e8%88%b9","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/926179.html","title":{"rendered":"python\u5982\u4f55\u753b\u8239"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25062914\/c5cc8343-92ff-47cf-800e-245eeced7513.webp\" alt=\"python\u5982\u4f55\u753b\u8239\" \/><\/p>\n<p><p> <strong>\u4f7f\u7528Python\u7ed8\u5236\u8239\u53ea\u53ef\u4ee5\u901a\u8fc7\u591a\u4e2a\u65b9\u5f0f\u5b9e\u73b0\uff0c\u5982\u4f7f\u7528Turtle\u5e93\u3001Matplotlib\u5e93\u3001Pygame\u5e93\u7b49\u3002Turtle\u5e93\u9002\u5408\u521d\u5b66\u8005\uff0c\u56e0\u4e3a\u5b83\u7b80\u5355\u76f4\u89c2\uff1bMatplotlib\u5e93\u9002\u5408\u4ee5\u6570\u636e\u9a71\u52a8\u7684\u65b9\u5f0f\u751f\u6210\u56fe\u5f62\uff1bPygame\u5219\u9002\u5408\u7528\u4e8e\u6e38\u620f\u5f00\u53d1\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Turtle\u5e93\u7ed8\u5236\u4e00\u8258\u7b80\u5355\u7684\u8239\u53ea\u3002<\/strong><\/p>\n<\/p>\n<p><p>Turtle\u5e93\u662fPython\u5185\u7f6e\u7684\u4e00\u4e2a\u7ed8\u56fe\u5e93\uff0c\u7279\u522b\u9002\u5408\u521d\u5b66\u8005\u5b66\u4e60\u7f16\u7a0b\u548c\u7b80\u5355\u7684\u56fe\u5f62\u7ed8\u5236\u3002\u901a\u8fc7\u4f7f\u7528Turtle\u5e93\uff0c\u6211\u4eec\u53ef\u4ee5\u8f7b\u677e\u5730\u7ed8\u5236\u51fa\u5404\u79cd\u5f62\u72b6\u548c\u56fe\u6848\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u63cf\u8ff0\u4f7f\u7528Turtle\u5e93\u7ed8\u5236\u4e00\u8258\u7b80\u5355\u7684\u8239\u53ea\u7684\u6b65\u9aa4\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001TURTLE\u5e93\u7b80\u4ecb\u4e0e\u5b89\u88c5<\/p>\n<\/p>\n<p><p>Turtle\u662f\u4e00\u4e2aPython\u7684\u6807\u51c6\u5e93\uff0c\u56e0\u6b64\u4e0d\u9700\u8981\u989d\u5916\u5b89\u88c5\uff0c\u53ea\u9700\u786e\u4fdd\u4f60\u7684Python\u73af\u5883\u4e2d\u5305\u542b\u8be5\u5e93\u5373\u53ef\u3002Turtle\u5e93\u63d0\u4f9b\u4e86\u4e00\u4e2a\u57fa\u4e8e\u5c4f\u5e55\u7684\u7ed8\u56fe\u5de5\u5177\uff0c\u6a21\u4eff\u4e86\u6d77\u9f9f\u5728\u7eb8\u4e0a\u79fb\u52a8\u7684\u65b9\u5f0f\u3002\u901a\u8fc7\u547d\u4ee4\u63a7\u5236\u201c\u6d77\u9f9f\u201d\u7684\u65b9\u5411\u548c\u79fb\u52a8\u8ddd\u79bb\uff0c\u53ef\u4ee5\u7ed8\u5236\u51fa\u5404\u79cd\u56fe\u5f62\u3002<\/p>\n<\/p>\n<ol>\n<li>Turtle\u5e93\u7684\u57fa\u672c\u4f7f\u7528<\/li>\n<\/ol>\n<p><p>\u5728\u5f00\u59cb\u7ed8\u5236\u4e4b\u524d\uff0c\u9996\u5148\u9700\u8981\u5bfc\u5165Turtle\u5e93\u3002\u5bfc\u5165\u5e93\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u6d77\u9f9f\u5b9e\u4f8b\uff0c\u5e76\u901a\u8fc7\u8be5\u5b9e\u4f8b\u6765\u63a7\u5236\u753b\u5e03\u4e0a\u7684\u7ed8\u56fe\u64cd\u4f5c\u3002\u57fa\u672c\u7684\u64cd\u4f5c\u5305\u62ec\u8bbe\u7f6e\u753b\u7b14\u989c\u8272\u3001\u753b\u7b14\u7c97\u7ec6\u3001\u79fb\u52a8\u65b9\u5411\u3001\u586b\u5145\u989c\u8272\u7b49\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import turtle<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a\u6d77\u9f9f\u5b9e\u4f8b<\/strong><\/h2>\n<p>t = turtle.Turtle()<\/p>\n<h2><strong>\u8bbe\u7f6e\u753b\u7b14\u989c\u8272\u548c\u7c97\u7ec6<\/strong><\/h2>\n<p>t.pensize(2)<\/p>\n<p>t.color(&quot;black&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li>Turtle\u5e93\u7684\u7ed8\u5236\u539f\u7406<\/li>\n<\/ol>\n<p><p>Turtle\u7ed8\u56fe\u7684\u539f\u7406\u662f\u901a\u8fc7\u63a7\u5236\u6d77\u9f9f\u7684\u79fb\u52a8\u6765\u7ed8\u5236\u56fe\u5f62\u3002\u6d77\u9f9f\u7684\u79fb\u52a8\u53ef\u4ee5\u662f\u524d\u8fdb\u3001\u540e\u9000\u3001\u5de6\u8f6c\u3001\u53f3\u8f6c\u7b49\u64cd\u4f5c\u3002\u901a\u8fc7\u7ec4\u5408\u8fd9\u4e9b\u57fa\u672c\u64cd\u4f5c\uff0c\u53ef\u4ee5\u7ed8\u5236\u51fa\u590d\u6742\u7684\u56fe\u5f62\u3002Turtle\u8fd8\u652f\u6301\u56fe\u5f62\u7684\u586b\u5145\u548c\u753b\u5e03\u7684\u6e05\u9664\u7b49\u529f\u80fd\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u4f7f\u7528TURTLE\u5e93\u7ed8\u5236\u8239\u53ea<\/p>\n<\/p>\n<p><p>\u5728\u4f7f\u7528Turtle\u5e93\u7ed8\u5236\u8239\u53ea\u4e4b\u524d\uff0c\u5148\u6784\u601d\u4e00\u4e0b\u8239\u53ea\u7684\u57fa\u672c\u7ed3\u6784\u3002\u4e00\u4e2a\u7b80\u5355\u7684\u8239\u53ea\u53ef\u4ee5\u7531\u8239\u4f53\u3001\u6845\u6746\u3001\u8239\u5e06\u7b49\u90e8\u5206\u7ec4\u6210\u3002\u6211\u4eec\u5c06\u5206\u522b\u7ed8\u5236\u8fd9\u4e9b\u90e8\u5206\uff0c\u5e76\u5c06\u5b83\u4eec\u7ec4\u5408\u5728\u4e00\u8d77\u5f62\u6210\u5b8c\u6574\u7684\u8239\u53ea\u3002<\/p>\n<\/p>\n<ol>\n<li>\u7ed8\u5236\u8239\u4f53<\/li>\n<\/ol>\n<p><p>\u8239\u4f53\u662f\u8239\u53ea\u7684\u57fa\u7840\u90e8\u5206\uff0c\u53ef\u4ee5\u901a\u8fc7\u7ed8\u5236\u4e00\u4e2a\u957f\u65b9\u5f62\u6216\u692d\u5706\u5f62\u6765\u8868\u793a\u3002\u6211\u4eec\u53ef\u4ee5\u8bbe\u7f6e\u8239\u4f53\u7684\u989c\u8272\u548c\u5927\u5c0f\uff0c\u4ee5\u4fbf\u4e8e\u540e\u7eed\u7684\u7ec4\u5408\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def draw_boat_body(t):<\/p>\n<p>    # \u8bbe\u7f6e\u8239\u4f53\u989c\u8272<\/p>\n<p>    t.fillcolor(&quot;brown&quot;)<\/p>\n<p>    t.begin_fill()<\/p>\n<p>    # \u7ed8\u5236\u8239\u4f53<\/p>\n<p>    t.forward(100)  # \u5411\u524d\u79fb\u52a8100\u5355\u4f4d<\/p>\n<p>    t.right(90)     # \u53f3\u8f6c90\u5ea6<\/p>\n<p>    t.forward(20)   # \u5411\u524d\u79fb\u52a820\u5355\u4f4d<\/p>\n<p>    t.right(90)<\/p>\n<p>    t.forward(100)<\/p>\n<p>    t.right(90)<\/p>\n<p>    t.forward(20)<\/p>\n<p>    t.end_fill()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li>\u7ed8\u5236\u6845\u6746<\/li>\n<\/ol>\n<p><p>\u6845\u6746\u662f\u8239\u5e06\u7684\u652f\u6491\u7ed3\u6784\uff0c\u53ef\u4ee5\u901a\u8fc7\u7ed8\u5236\u4e00\u4e2a\u7ec6\u957f\u7684\u77e9\u5f62\u6765\u8868\u793a\u3002\u6211\u4eec\u53ef\u4ee5\u8bbe\u7f6e\u6845\u6746\u7684\u9ad8\u5ea6\u548c\u4f4d\u7f6e\uff0c\u4f7f\u5176\u4f4d\u4e8e\u8239\u4f53\u7684\u4e2d\u5fc3\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def draw_mast(t):<\/p>\n<p>    # \u8bbe\u7f6e\u6845\u6746\u989c\u8272<\/p>\n<p>    t.fillcolor(&quot;black&quot;)<\/p>\n<p>    t.begin_fill()<\/p>\n<p>    # \u7ed8\u5236\u6845\u6746<\/p>\n<p>    t.right(90)<\/p>\n<p>    t.forward(10)  # \u5411\u524d\u79fb\u52a810\u5355\u4f4d<\/p>\n<p>    t.left(90)<\/p>\n<p>    t.forward(50)  # \u5411\u524d\u79fb\u52a850\u5355\u4f4d<\/p>\n<p>    t.left(90)<\/p>\n<p>    t.forward(10)<\/p>\n<p>    t.left(90)<\/p>\n<p>    t.forward(50)<\/p>\n<p>    t.end_fill()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"3\">\n<li>\u7ed8\u5236\u8239\u5e06<\/li>\n<\/ol>\n<p><p>\u8239\u5e06\u662f\u8239\u53ea\u7684\u91cd\u8981\u90e8\u5206\uff0c\u53ef\u4ee5\u901a\u8fc7\u7ed8\u5236\u4e09\u89d2\u5f62\u6216\u591a\u8fb9\u5f62\u6765\u8868\u793a\u3002\u6211\u4eec\u53ef\u4ee5\u8bbe\u7f6e\u8239\u5e06\u7684\u989c\u8272\u548c\u5f62\u72b6\uff0c\u4f7f\u5176\u4e0e\u6845\u6746\u76f8\u8fde\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def draw_s<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>l(t):<\/p>\n<p>    # \u8bbe\u7f6e\u8239\u5e06\u989c\u8272<\/p>\n<p>    t.fillcolor(&quot;white&quot;)<\/p>\n<p>    t.begin_fill()<\/p>\n<p>    # \u7ed8\u5236\u8239\u5e06<\/p>\n<p>    t.right(90)<\/p>\n<p>    t.forward(50)  # \u5411\u524d\u79fb\u52a850\u5355\u4f4d<\/p>\n<p>    t.left(135)<\/p>\n<p>    t.forward(70)  # \u5411\u524d\u79fb\u52a870\u5355\u4f4d<\/p>\n<p>    t.left(90)<\/p>\n<p>    t.forward(70)<\/p>\n<p>    t.end_fill()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e09\u3001\u5b8c\u6574\u7684\u8239\u53ea\u7ed8\u5236\u4ee3\u7801<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u7ec4\u5408\u8239\u4f53\u3001\u6845\u6746\u548c\u8239\u5e06\u7684\u7ed8\u5236\u51fd\u6570\uff0c\u6211\u4eec\u53ef\u4ee5\u7ed8\u5236\u51fa\u4e00\u8258\u5b8c\u6574\u7684\u8239\u53ea\u3002\u4ee5\u4e0b\u662f\u5b8c\u6574\u7684Python\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import turtle<\/p>\n<p>def draw_boat_body(t):<\/p>\n<p>    t.fillcolor(&quot;brown&quot;)<\/p>\n<p>    t.begin_fill()<\/p>\n<p>    t.forward(100)<\/p>\n<p>    t.right(90)<\/p>\n<p>    t.forward(20)<\/p>\n<p>    t.right(90)<\/p>\n<p>    t.forward(100)<\/p>\n<p>    t.right(90)<\/p>\n<p>    t.forward(20)<\/p>\n<p>    t.end_fill()<\/p>\n<p>def draw_mast(t):<\/p>\n<p>    t.fillcolor(&quot;black&quot;)<\/p>\n<p>    t.begin_fill()<\/p>\n<p>    t.right(90)<\/p>\n<p>    t.forward(10)<\/p>\n<p>    t.left(90)<\/p>\n<p>    t.forward(50)<\/p>\n<p>    t.left(90)<\/p>\n<p>    t.forward(10)<\/p>\n<p>    t.left(90)<\/p>\n<p>    t.forward(50)<\/p>\n<p>    t.end_fill()<\/p>\n<p>def draw_sail(t):<\/p>\n<p>    t.fillcolor(&quot;white&quot;)<\/p>\n<p>    t.begin_fill()<\/p>\n<p>    t.right(90)<\/p>\n<p>    t.forward(50)<\/p>\n<p>    t.left(135)<\/p>\n<p>    t.forward(70)<\/p>\n<p>    t.left(90)<\/p>\n<p>    t.forward(70)<\/p>\n<p>    t.end_fill()<\/p>\n<p>def main():<\/p>\n<p>    screen = turtle.Screen()<\/p>\n<p>    screen.setup(width=600, height=400)<\/p>\n<p>    t = turtle.Turtle()<\/p>\n<p>    t.penup()<\/p>\n<p>    t.goto(-50, -50)<\/p>\n<p>    t.pendown()<\/p>\n<p>    draw_boat_body(t)<\/p>\n<p>    draw_mast(t)<\/p>\n<p>    draw_sail(t)<\/p>\n<p>    turtle.done()<\/p>\n<p>if __name__ == &quot;__main__&quot;:<\/p>\n<p>    main()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u56db\u3001\u603b\u7ed3\u4e0e\u62d3\u5c55<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528Turtle\u5e93\u7ed8\u5236\u51fa\u4e00\u8258\u7b80\u5355\u7684\u8239\u53ea\u3002\u8fd9\u53ea\u662fTurtle\u5e93\u7684\u4e00\u90e8\u5206\u529f\u80fd\uff0c\u5b9e\u9645\u4e0a\uff0cTurtle\u5e93\u8fd8\u53ef\u4ee5\u7528\u4e8e\u7ed8\u5236\u66f4\u590d\u6742\u7684\u56fe\u5f62\u548c\u52a8\u753b\u3002\u5982\u679c\u5bf9Turtle\u5e93\u6709\u66f4\u6df1\u5165\u7684\u5174\u8da3\uff0c\u53ef\u4ee5\u53c2\u8003\u5b98\u65b9\u6587\u6863\u6216\u5176\u4ed6\u6559\u7a0b\uff0c\u5b66\u4e60\u66f4\u591a\u9ad8\u7ea7\u6280\u5de7\u3002<\/p>\n<\/p>\n<ol>\n<li>\u62d3\u5c55\u7ed8\u56fe\u6280\u5de7<\/li>\n<\/ol>\n<p><p>\u9664\u4e86\u57fa\u672c\u7684\u56fe\u5f62\u7ed8\u5236\u5916\uff0cTurtle\u5e93\u8fd8\u652f\u6301\u52a8\u753b\u6548\u679c\u3001\u56fe\u5f62\u53d8\u6362\u3001\u4e8b\u4ef6\u5904\u7406\u7b49\u9ad8\u7ea7\u529f\u80fd\u3002\u901a\u8fc7\u5b66\u4e60\u8fd9\u4e9b\u529f\u80fd\uff0c\u53ef\u4ee5\u5236\u4f5c\u51fa\u66f4\u4e3a\u590d\u6742\u548c\u751f\u52a8\u7684\u56fe\u5f62\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li>\u5e94\u7528\u573a\u666f<\/li>\n<\/ol>\n<p><p>Turtle\u5e93\u9002\u5408\u7528\u4e8e\u6559\u80b2\u548c\u6559\u5b66\u573a\u666f\uff0c\u5e2e\u52a9\u5b66\u751f\u7406\u89e3\u57fa\u672c\u7684\u7f16\u7a0b\u6982\u5ff5\u548c\u56fe\u5f62\u7ed8\u5236\u539f\u7406\u3002\u6b64\u5916\uff0c\u5b83\u8fd8\u53ef\u4ee5\u7528\u4e8e\u5236\u4f5c\u7b80\u5355\u7684\u56fe\u5f62\u5316\u5e94\u7528\u6216\u6e38\u620f\uff0c\u662f\u5b66\u4e60Python\u7f16\u7a0b\u7684\u826f\u597d\u5165\u95e8\u5de5\u5177\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u7ed8\u5236\u8239\u53ea\u7684\u56fe\u5f62\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u56fe\u5f62\u5e93\u6765\u7ed8\u5236\u8239\u53ea\u7684\u56fe\u5f62\u3002\u5e38\u89c1\u7684\u5e93\u5305\u62ecMatplotlib\u548cTurtle\u3002Matplotlib\u9002\u5408\u7ed8\u5236\u590d\u6742\u7684\u56fe\u5f62\uff0c\u800cTurtle\u5219\u66f4\u9002\u5408\u521d\u5b66\u8005\u8fdb\u884c\u7b80\u5355\u7684\u7ed8\u56fe\u3002\u901a\u8fc7\u8bbe\u7f6e\u5750\u6807\u3001\u989c\u8272\u548c\u5f62\u72b6\u53c2\u6570\uff0c\u53ef\u4ee5\u521b\u5efa\u51fa\u5177\u6709\u4e0d\u540c\u98ce\u683c\u7684\u8239\u53ea\u56fe\u5f62\u3002<\/p>\n<p><strong>\u4f7f\u7528Turtle\u5e93\u7ed8\u5236\u8239\u53ea\u9700\u8981\u54ea\u4e9b\u57fa\u672c\u6b65\u9aa4\uff1f<\/strong><br \/>\u4f7f\u7528Turtle\u5e93\u7ed8\u5236\u8239\u53ea\u65f6\uff0c\u60a8\u9700\u8981\u5bfc\u5165Turtle\u6a21\u5757\uff0c\u8bbe\u7f6e\u753b\u5e03\u5927\u5c0f\uff0c\u5e76\u4f7f\u7528\u7ed8\u56fe\u6307\u4ee4\u9010\u6b65\u7ed8\u5236\u8239\u53ea\u7684\u5404\u4e2a\u90e8\u5206\u3002\u53ef\u4ee5\u901a\u8fc7\u7ed8\u5236\u77e9\u5f62\u4f5c\u4e3a\u8239\u4f53\uff0c\u6dfb\u52a0\u4e09\u89d2\u5f62\u4f5c\u4e3a\u5e06\uff0c\u6700\u540e\u5bf9\u989c\u8272\u8fdb\u884c\u8bbe\u7f6e\uff0c\u4f7f\u56fe\u5f62\u66f4\u52a0\u751f\u52a8\u3002Turtle\u5e93\u7684\u547d\u4ee4\u7b80\u5355\u6613\u61c2\uff0c\u975e\u5e38\u9002\u5408\u65b0\u624b\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u7ed8\u5236\u8239\u53ea\u65f6\uff0c\u5982\u4f55\u5904\u7406\u989c\u8272\u548c\u6837\u5f0f\u7684\u9009\u62e9\uff1f<\/strong><br \/>\u5728\u7ed8\u5236\u8239\u53ea\u65f6\uff0c\u9009\u62e9\u5408\u9002\u7684\u989c\u8272\u548c\u6837\u5f0f\u80fd\u591f\u63d0\u5347\u56fe\u5f62\u7684\u89c6\u89c9\u6548\u679c\u3002\u53ef\u4ee5\u4f7f\u7528RGB\u503c\u6216\u9884\u8bbe\u7684\u989c\u8272\u540d\u79f0\u6765\u8bbe\u7f6e\u8239\u53ea\u7684\u989c\u8272\u3002\u5bf9\u4e8e\u6837\u5f0f\u7684\u9009\u62e9\uff0c\u53ef\u4ee5\u6839\u636e\u4e2a\u4eba\u559c\u597d\u8c03\u6574\u8239\u7684\u5f62\u72b6\u548c\u7ec6\u8282\uff0c\u4f8b\u5982\u6dfb\u52a0\u88c5\u9970\u5143\u7d20\u6216\u6539\u53d8\u8239\u5e06\u7684\u5f62\u72b6\u3002\u901a\u8fc7\u591a\u6b21\u5c1d\u8bd5\u548c\u8c03\u6574\uff0c\u60a8\u53ef\u4ee5\u521b\u9020\u51fa\u72ec\u7279\u7684\u8239\u53ea\u56fe\u5f62\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u4f7f\u7528Python\u7ed8\u5236\u8239\u53ea\u53ef\u4ee5\u901a\u8fc7\u591a\u4e2a\u65b9\u5f0f\u5b9e\u73b0\uff0c\u5982\u4f7f\u7528Turtle\u5e93\u3001Matplotlib\u5e93\u3001Pygame\u5e93\u7b49\u3002 [&hellip;]","protected":false},"author":3,"featured_media":926182,"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\/926179"}],"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=926179"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/926179\/revisions"}],"predecessor-version":[{"id":926183,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/926179\/revisions\/926183"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/926182"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=926179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=926179"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=926179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}