{"id":1131579,"date":"2025-01-08T20:49:43","date_gmt":"2025-01-08T12:49:43","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1131579.html"},"modified":"2025-01-08T20:49:48","modified_gmt":"2025-01-08T12:49:48","slug":"python%e4%b8%ad%e5%a6%82%e4%bd%95%e6%89%93%e6%ad%a3%e6%96%b9%e5%bd%a2%e8%9e%ba%e6%97%8b%e7%ba%bf","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1131579.html","title":{"rendered":"python\u4e2d\u5982\u4f55\u6253\u6b63\u65b9\u5f62\u87ba\u65cb\u7ebf"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25101332\/7a9b0929-8622-428f-957b-e6068051d0a8.webp\" alt=\"python\u4e2d\u5982\u4f55\u6253\u6b63\u65b9\u5f62\u87ba\u65cb\u7ebf\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u7ed8\u5236\u6b63\u65b9\u5f62\u87ba\u65cb\u7ebf\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528Turtle\u6a21\u5757\u3001\u9012\u5f52\u7b97\u6cd5\u3001\u53c2\u6570\u5316\u7ed8\u56fe\u7b49\u591a\u79cd\u65b9\u6cd5\u6765\u5b9e\u73b0\u3002\u4f7f\u7528Turtle\u6a21\u5757\u662f\u6700\u76f4\u89c2\u548c\u7b80\u5355\u7684\u65b9\u5f0f\uff0c\u901a\u8fc7\u63a7\u5236\u6d77\u9f9f\u7684\u79fb\u52a8\u6765\u7ed8\u5236\u56fe\u5f62\u3002<\/strong>\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u5e76\u63d0\u4f9b\u4ee3\u7801\u793a\u4f8b\uff0c\u5e2e\u52a9\u4f60\u7406\u89e3\u5982\u4f55\u5728Python\u4e2d\u7ed8\u5236\u6b63\u65b9\u5f62\u87ba\u65cb\u7ebf\u3002<\/p>\n<\/p>\n<h2><strong>\u4e00\u3001\u4f7f\u7528Turtle\u6a21\u5757<\/strong><\/h2>\n<p><p>Python\u7684Turtle\u6a21\u5757\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u56fe\u5f62\u7ed8\u5236\u5de5\u5177\uff0c\u53ef\u4ee5\u7528\u6765\u7ed8\u5236\u5404\u79cd\u51e0\u4f55\u56fe\u5f62\u3002\u5b83\u901a\u8fc7\u63a7\u5236\u4e00\u4e2a\u201c\u6d77\u9f9f\u201d\u5728\u5c4f\u5e55\u4e0a\u7684\u79fb\u52a8\u548c\u65cb\u8f6c\u6765\u7ed8\u5236\u56fe\u5f62\u3002<\/p>\n<\/p>\n<p><h3>1. \u57fa\u672c\u6b65\u9aa4<\/h3>\n<\/p>\n<p><p>Turtle\u6a21\u5757\u7684\u57fa\u672c\u4f7f\u7528\u65b9\u6cd5\u5305\u62ec\u8bbe\u7f6e\u6d77\u9f9f\u7684\u4f4d\u7f6e\u548c\u65b9\u5411\uff0c\u7136\u540e\u8ba9\u5b83\u6309\u6307\u5b9a\u7684\u8ddd\u79bb\u79fb\u52a8\u548c\u65cb\u8f6c\u3002\u4ee5\u4e0b\u662f\u7ed8\u5236\u6b63\u65b9\u5f62\u87ba\u65cb\u7ebf\u7684\u57fa\u672c\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li>\u5bfc\u5165Turtle\u6a21\u5757\u3002<\/li>\n<li>\u521d\u59cb\u5316Turtle\u5bf9\u8c61\u548c\u5c4f\u5e55\u3002<\/li>\n<li>\u8bbe\u7f6e\u521d\u59cb\u53c2\u6570\uff0c\u5982\u6b65\u957f\u548c\u89d2\u5ea6\u3002<\/li>\n<li>\u4f7f\u7528\u5faa\u73af\u63a7\u5236\u6d77\u9f9f\u7684\u79fb\u52a8\u548c\u65cb\u8f6c\u3002<\/li>\n<li>\u663e\u793a\u5e76\u4fdd\u6301\u7ed8\u56fe\u7a97\u53e3\u3002<\/li>\n<\/ol>\n<p><h3>2. \u4ee3\u7801\u793a\u4f8b<\/h3>\n<\/p>\n<p><p>\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u4ee3\u7801\u793a\u4f8b\uff0c\u6f14\u793a\u5982\u4f55\u4f7f\u7528Turtle\u6a21\u5757\u7ed8\u5236\u6b63\u65b9\u5f62\u87ba\u65cb\u7ebf\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import turtle<\/p>\n<h2><strong>\u8bbe\u7f6e\u5c4f\u5e55<\/strong><\/h2>\n<p>screen = turtle.Screen()<\/p>\n<p>screen.bgcolor(&quot;white&quot;)<\/p>\n<h2><strong>\u521d\u59cb\u5316\u6d77\u9f9f<\/strong><\/h2>\n<p>spiral = turtle.Turtle()<\/p>\n<p>spiral.speed(10)  # \u8bbe\u7f6e\u6d77\u9f9f\u7684\u901f\u5ea6<\/p>\n<h2><strong>\u521d\u59cb\u53c2\u6570<\/strong><\/h2>\n<p>length = 10  # \u521d\u59cb\u6b65\u957f<\/p>\n<p>angle = 90   # \u65cb\u8f6c\u89d2\u5ea6<\/p>\n<h2><strong>\u7ed8\u5236\u6b63\u65b9\u5f62\u87ba\u65cb\u7ebf<\/strong><\/h2>\n<p>for i in range(50):<\/p>\n<p>    spiral.forward(length)<\/p>\n<p>    spiral.right(angle)<\/p>\n<p>    length += 5  # \u589e\u52a0\u6b65\u957f<\/p>\n<h2><strong>\u5b8c\u6210\u7ed8\u56fe<\/strong><\/h2>\n<p>turtle.done()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6d77\u9f9f\u6bcf\u6b21\u524d\u8fdb\u4e00\u4e2a\u957f\u5ea6\uff0c\u5e76\u53f3\u8f6c90\u5ea6\u3002\u6b65\u957f\u5728\u6bcf\u6b21\u5faa\u73af\u540e\u589e\u52a0\uff0c\u4ece\u800c\u5f62\u6210\u87ba\u65cb\u5f62\u72b6\u3002<\/p>\n<\/p>\n<p><h3>3. \u8be6\u7ec6\u63cf\u8ff0<\/h3>\n<\/p>\n<p><p><strong>\u589e\u52a0\u6b65\u957f<\/strong>\uff1a\u5728\u6bcf\u6b21\u5faa\u73af\u4e2d\uff0c\u901a\u8fc7\u589e\u52a0\u6b65\u957f\u6765\u5b9e\u73b0\u87ba\u65cb\u6548\u679c\u3002\u8fd9\u662f\u901a\u8fc7 <code>length += 5<\/code> \u5b9e\u73b0\u7684\uff0c\u4f7f\u5f97\u6bcf\u6b21\u6d77\u9f9f\u524d\u8fdb\u7684\u8ddd\u79bb\u90fd\u6bd4\u4e0a\u4e00\u6b21\u66f4\u957f\uff0c\u4ece\u800c\u5f62\u6210\u4e00\u4e2a\u6e10\u8fdb\u6269\u5c55\u7684\u87ba\u65cb\u5f62\u72b6\u3002<\/p>\n<\/p>\n<h2><strong>\u4e8c\u3001\u4f7f\u7528\u9012\u5f52\u7b97\u6cd5<\/strong><\/h2>\n<p><p>\u9012\u5f52\u7b97\u6cd5\u662f\u4e00\u79cd\u89e3\u51b3\u95ee\u9898\u7684\u65b9\u6cd5\uff0c\u901a\u8fc7\u5c06\u95ee\u9898\u5206\u89e3\u4e3a\u66f4\u5c0f\u7684\u5b50\u95ee\u9898\uff0c\u7136\u540e\u9012\u5f52\u5730\u89e3\u51b3\u6bcf\u4e2a\u5b50\u95ee\u9898\u3002\u9012\u5f52\u7b97\u6cd5\u4e5f\u53ef\u4ee5\u7528\u6765\u7ed8\u5236\u6b63\u65b9\u5f62\u87ba\u65cb\u7ebf\u3002<\/p>\n<\/p>\n<p><h3>1. \u57fa\u672c\u6b65\u9aa4<\/h3>\n<\/p>\n<p><p>\u9012\u5f52\u7b97\u6cd5\u7684\u57fa\u672c\u6b65\u9aa4\u5305\u62ec\uff1a<\/p>\n<\/p>\n<ol>\n<li>\u5b9a\u4e49\u9012\u5f52\u51fd\u6570\u3002<\/li>\n<li>\u8bbe\u7f6e\u7ec8\u6b62\u6761\u4ef6\u3002<\/li>\n<li>\u5728\u6bcf\u6b21\u9012\u5f52\u8c03\u7528\u4e2d\u8c03\u6574\u6b65\u957f\u548c\u89d2\u5ea6\u3002<\/li>\n<\/ol>\n<p><h3>2. \u4ee3\u7801\u793a\u4f8b<\/h3>\n<\/p>\n<p><p>\u4ee5\u4e0b\u662f\u4e00\u4e2a\u4f7f\u7528\u9012\u5f52\u7b97\u6cd5\u7ed8\u5236\u6b63\u65b9\u5f62\u87ba\u65cb\u7ebf\u7684\u4ee3\u7801\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import turtle<\/p>\n<h2><strong>\u521d\u59cb\u5316\u6d77\u9f9f<\/strong><\/h2>\n<p>spiral = turtle.Turtle()<\/p>\n<p>spiral.speed(10)  # \u8bbe\u7f6e\u6d77\u9f9f\u7684\u901f\u5ea6<\/p>\n<p>def draw_spiral(length, angle):<\/p>\n<p>    if length &gt; 200:  # \u8bbe\u7f6e\u9012\u5f52\u7ec8\u6b62\u6761\u4ef6<\/p>\n<p>        return<\/p>\n<p>    spiral.forward(length)<\/p>\n<p>    spiral.right(angle)<\/p>\n<p>    draw_spiral(length + 5, angle)  # \u9012\u5f52\u8c03\u7528\uff0c\u589e\u52a0\u6b65\u957f<\/p>\n<h2><strong>\u7ed8\u5236\u6b63\u65b9\u5f62\u87ba\u65cb\u7ebf<\/strong><\/h2>\n<p>draw_spiral(10, 90)<\/p>\n<h2><strong>\u5b8c\u6210\u7ed8\u56fe<\/strong><\/h2>\n<p>turtle.done()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c<code>draw_spiral<\/code> \u51fd\u6570\u901a\u8fc7\u9012\u5f52\u8c03\u7528\u6765\u7ed8\u5236\u87ba\u65cb\u7ebf\uff0c\u6bcf\u6b21\u9012\u5f52\u8c03\u7528\u90fd\u589e\u52a0\u6b65\u957f\uff0c\u76f4\u5230\u8fbe\u5230\u7ec8\u6b62\u6761\u4ef6\u3002<\/p>\n<\/p>\n<h2><strong>\u4e09\u3001\u4f7f\u7528\u53c2\u6570\u5316\u7ed8\u56fe<\/strong><\/h2>\n<p><p>\u53c2\u6570\u5316\u7ed8\u56fe\u662f\u4e00\u79cd\u4f7f\u7528\u53c2\u6570\u6765\u63a7\u5236\u7ed8\u56fe\u7684\u6280\u672f\uff0c\u53ef\u4ee5\u7528\u6765\u751f\u6210\u5404\u79cd\u590d\u6742\u56fe\u5f62\u3002\u53c2\u6570\u5316\u7ed8\u56fe\u901a\u5e38\u9700\u8981\u6570\u5b66\u51fd\u6570\u548c\u5faa\u73af\u6765\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<p><h3>1. \u57fa\u672c\u6b65\u9aa4<\/h3>\n<\/p>\n<p><p>\u53c2\u6570\u5316\u7ed8\u56fe\u7684\u57fa\u672c\u6b65\u9aa4\u5305\u62ec\uff1a<\/p>\n<\/p>\n<ol>\n<li>\u5b9a\u4e49\u6570\u5b66\u51fd\u6570\u6765\u63a7\u5236\u6b65\u957f\u548c\u89d2\u5ea6\u3002<\/li>\n<li>\u4f7f\u7528\u5faa\u73af\u6765\u7ed8\u5236\u56fe\u5f62\u3002<\/li>\n<\/ol>\n<p><h3>2. \u4ee3\u7801\u793a\u4f8b<\/h3>\n<\/p>\n<p><p>\u4ee5\u4e0b\u662f\u4e00\u4e2a\u4f7f\u7528\u53c2\u6570\u5316\u7ed8\u56fe\u7ed8\u5236\u6b63\u65b9\u5f62\u87ba\u65cb\u7ebf\u7684\u4ee3\u7801\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import turtle<\/p>\n<p>import math<\/p>\n<h2><strong>\u8bbe\u7f6e\u5c4f\u5e55<\/strong><\/h2>\n<p>screen = turtle.Screen()<\/p>\n<p>screen.bgcolor(&quot;white&quot;)<\/p>\n<h2><strong>\u521d\u59cb\u5316\u6d77\u9f9f<\/strong><\/h2>\n<p>spiral = turtle.Turtle()<\/p>\n<p>spiral.speed(10)  # \u8bbe\u7f6e\u6d77\u9f9f\u7684\u901f\u5ea6<\/p>\n<h2><strong>\u5b9a\u4e49\u53c2\u6570\u5316\u51fd\u6570<\/strong><\/h2>\n<p>def parametric_spiral(t, a, b):<\/p>\n<p>    angle = 0<\/p>\n<p>    while angle &lt; 720:  # \u8bbe\u5b9a\u89d2\u5ea6\u8303\u56f4<\/p>\n<p>        length = a + b * angle  # \u53c2\u6570\u5316\u51fd\u6570<\/p>\n<p>        t.forward(length)<\/p>\n<p>        t.right(90)<\/p>\n<p>        angle += 10  # \u589e\u52a0\u89d2\u5ea6<\/p>\n<h2><strong>\u7ed8\u5236\u6b63\u65b9\u5f62\u87ba\u65cb\u7ebf<\/strong><\/h2>\n<p>parametric_spiral(spiral, 5, 0.1)<\/p>\n<h2><strong>\u5b8c\u6210\u7ed8\u56fe<\/strong><\/h2>\n<p>turtle.done()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c<code>parametric_spiral<\/code> \u51fd\u6570\u4f7f\u7528\u53c2\u6570\u5316\u51fd\u6570 <code>length = a + b * angle<\/code> \u6765\u63a7\u5236\u6b65\u957f\uff0c\u5e76\u5728\u6bcf\u6b21\u5faa\u73af\u4e2d\u589e\u52a0\u89d2\u5ea6\uff0c\u4ece\u800c\u5f62\u6210\u87ba\u65cb\u5f62\u72b6\u3002<\/p>\n<\/p>\n<h2><strong>\u56db\u3001\u603b\u7ed3<\/strong><\/h2>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u4e09\u79cd\u65b9\u6cd5\uff0c\u6211\u4eec\u53ef\u4ee5\u5728Python\u4e2d\u7ed8\u5236\u6b63\u65b9\u5f62\u87ba\u65cb\u7ebf\u3002<strong>\u4f7f\u7528Turtle\u6a21\u5757<\/strong>\u662f\u6700\u76f4\u89c2\u548c\u7b80\u5355\u7684\u65b9\u5f0f\uff0c\u9002\u5408\u521d\u5b66\u8005\uff1b<strong>\u9012\u5f52\u7b97\u6cd5<\/strong>\u63d0\u4f9b\u4e86\u4e00\u79cd\u66f4\u5177\u6311\u6218\u6027\u548c\u7075\u6d3b\u6027\u7684\u65b9\u6cd5\uff1b<strong>\u53c2\u6570\u5316\u7ed8\u56fe<\/strong>\u5219\u53ef\u4ee5\u751f\u6210\u66f4\u590d\u6742\u548c\u7cbe\u7ec6\u7684\u56fe\u5f62\u3002\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\u53d6\u51b3\u4e8e\u4f60\u7684\u9700\u6c42\u548c\u7f16\u7a0b\u6c34\u5e73\u3002\u65e0\u8bba\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\uff0c\u90fd\u80fd\u5e2e\u52a9\u4f60\u6df1\u5165\u7406\u89e3Python\u4e2d\u7684\u56fe\u5f62\u7ed8\u5236\u548c\u7b97\u6cd5\u8bbe\u8ba1\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u7ed8\u5236\u6b63\u65b9\u5f62\u87ba\u65cb\u7ebf\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u4e2a\u5e93\u6765\u7ed8\u5236\u6b63\u65b9\u5f62\u87ba\u65cb\u7ebf\u3002\u6700\u5e38\u7528\u7684\u662f<code>matplotlib<\/code>\u548c<code>turtle<\/code>\u5e93\u3002<code>matplotlib<\/code>\u9002\u5408\u7528\u4e8e\u6570\u636e\u53ef\u89c6\u5316\uff0c\u800c<code>turtle<\/code>\u5219\u66f4\u4e3a\u76f4\u89c2\uff0c\u9002\u5408\u521d\u5b66\u8005\u3002\u901a\u8fc7\u7b80\u5355\u7684\u5faa\u73af\u548c\u5750\u6807\u53d8\u6362\uff0c\u53ef\u4ee5\u5b9e\u73b0\u6b63\u65b9\u5f62\u87ba\u65cb\u7ebf\u7684\u7ed8\u5236\u3002<\/p>\n<p><strong>\u9700\u8981\u5b89\u88c5\u54ea\u4e9b\u5e93\u6765\u7ed8\u5236\u6b63\u65b9\u5f62\u87ba\u65cb\u7ebf\uff1f<\/strong><br \/>\u4e3a\u4e86\u7ed8\u5236\u6b63\u65b9\u5f62\u87ba\u65cb\u7ebf\uff0c\u63a8\u8350\u4f7f\u7528<code>matplotlib<\/code>\u548c<code>turtle<\/code>\u5e93\u3002\u901a\u5e38\uff0c<code>matplotlib<\/code>\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4<code>pip install matplotlib<\/code>\u8fdb\u884c\u5b89\u88c5\uff0c\u800c<code>turtle<\/code>\u662fPython\u81ea\u5e26\u7684\u5e93\uff0c\u65e0\u9700\u989d\u5916\u5b89\u88c5\u3002\u5bf9\u4e8e\u521d\u5b66\u8005\uff0c<code>turtle<\/code>\u63d0\u4f9b\u4e86\u66f4\u7b80\u5355\u7684\u53ef\u89c6\u5316\u65b9\u5f0f\u3002<\/p>\n<p><strong>\u6b63\u65b9\u5f62\u87ba\u65cb\u7ebf\u7684\u6570\u5b66\u539f\u7406\u662f\u4ec0\u4e48\uff1f<\/strong><br \/>\u6b63\u65b9\u5f62\u87ba\u65cb\u7ebf\u662f\u4e00\u79cd\u51e0\u4f55\u56fe\u5f62\uff0c\u5b83\u901a\u8fc7\u4e0d\u65ad\u589e\u52a0\u8fb9\u957f\u5e76\u5728\u6bcf\u4e2a\u89d2\u5904\u8f6c\u52a890\u5ea6\u6765\u7ed8\u5236\u3002\u6bcf\u6b21\u8f6c\u52a8\u540e\u8fb9\u957f\u589e\u52a0\u4e00\u4e2a\u56fa\u5b9a\u7684\u503c\uff0c\u4f7f\u5f97\u56fe\u5f62\u5448\u73b0\u51fa\u87ba\u65cb\u7684\u6548\u679c\u3002\u8be5\u56fe\u5f62\u7684\u5f62\u6210\u53ef\u4ee5\u7528\u7b80\u5355\u7684\u5faa\u73af\u7ed3\u6784\u548c\u5750\u6807\u7cfb\u7edf\u6765\u5b9e\u73b0\uff0c\u6613\u4e8e\u5728Python\u4e2d\u7f16\u7801\u5b9e\u73b0\u3002<\/p>\n<p><strong>\u5982\u4f55\u81ea\u5b9a\u4e49\u6b63\u65b9\u5f62\u87ba\u65cb\u7ebf\u7684\u989c\u8272\u548c\u7ebf\u5bbd\uff1f<\/strong><br \/>\u5728\u4f7f\u7528<code>matplotlib<\/code>\u7ed8\u5236\u6b63\u65b9\u5f62\u87ba\u65cb\u7ebf\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e<code>color<\/code>\u548c<code>linewidth<\/code>\u53c2\u6570\u6765\u8c03\u6574\u7ebf\u6761\u7684\u989c\u8272\u548c\u5bbd\u5ea6\u3002\u4f8b\u5982\uff0c\u5728\u7ed8\u56fe\u65f6\u53ef\u4ee5\u4f7f\u7528<code>plt.plot(x, y, color=&#39;blue&#39;, linewidth=2)<\/code>\u6765\u5b9e\u73b0\u3002\u8fd9\u79cd\u81ea\u5b9a\u4e49\u529f\u80fd\u4f7f\u5f97\u7ed8\u5236\u7684\u56fe\u5f62\u66f4\u52a0\u7f8e\u89c2\u548c\u7b26\u5408\u7528\u6237\u7684\u9700\u6c42\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u7ed8\u5236\u6b63\u65b9\u5f62\u87ba\u65cb\u7ebf\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528Turtle\u6a21\u5757\u3001\u9012\u5f52\u7b97\u6cd5\u3001\u53c2\u6570\u5316\u7ed8\u56fe\u7b49\u591a\u79cd\u65b9\u6cd5\u6765\u5b9e\u73b0\u3002\u4f7f\u7528Tur [&hellip;]","protected":false},"author":3,"featured_media":1131593,"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\/1131579"}],"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=1131579"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1131579\/revisions"}],"predecessor-version":[{"id":1131598,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1131579\/revisions\/1131598"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1131593"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1131579"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1131579"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1131579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}