{"id":985861,"date":"2024-12-27T07:40:13","date_gmt":"2024-12-26T23:40:13","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/985861.html"},"modified":"2024-12-27T07:40:15","modified_gmt":"2024-12-26T23:40:15","slug":"python%e5%a6%82%e4%bd%95%e7%94%a8%e6%b5%b7%e9%be%9f%e5%86%99%e5%ad%97","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/985861.html","title":{"rendered":"python\u5982\u4f55\u7528\u6d77\u9f9f\u5199\u5b57"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25062717\/9747ede1-09ea-42be-8912-5950c51e4433.webp\" alt=\"python\u5982\u4f55\u7528\u6d77\u9f9f\u5199\u5b57\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u4f7f\u7528\u6d77\u9f9f\uff08turtle\uff09\u6a21\u5757\u5199\u5b57\uff0c\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528<code>turtle<\/code>\u6a21\u5757\u4e2d\u7684<code>write()<\/code>\u65b9\u6cd5\u5b9e\u73b0\u3001\u4f7f\u7528<code>write()<\/code>\u65b9\u6cd5\u65f6\u9700\u8981\u6307\u5b9a\u5b57\u4f53\u3001\u5927\u5c0f\u548c\u6837\u5f0f\u7b49\u53c2\u6570\u3001\u6d77\u9f9f\u6a21\u5757\u63d0\u4f9b\u4e86\u7b80\u5355\u7684\u56fe\u5f62\u754c\u9762\uff0c\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u7ed8\u56fe\u548c\u6587\u5b57\u7ed8\u5236\u3002<\/strong> \u5176\u4e2d\uff0c\u4f7f\u7528<code>write()<\/code>\u65b9\u6cd5\u65f6\uff0c\u60a8\u53ef\u4ee5\u6307\u5b9a\u5b57\u4f53\u3001\u5927\u5c0f\u548c\u6837\u5f0f\u7b49\u53c2\u6570\uff0c\u4ece\u800c\u5b9e\u73b0\u4e0d\u540c\u98ce\u683c\u7684\u6587\u5b57\u663e\u793a\u3002\u9664\u6b64\u4e4b\u5916\uff0c\u6d77\u9f9f\u6a21\u5757\u63d0\u4f9b\u4e86\u7b80\u5355\u7684\u56fe\u5f62\u754c\u9762\uff0c\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u7ed8\u56fe\u548c\u6587\u5b57\u7ed8\u5236\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5728Python\u4e2d\u4f7f\u7528\u6d77\u9f9f\u6a21\u5757\u5199\u5b57\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u6d77\u9f9f\u6a21\u5757\u7b80\u4ecb<\/p>\n<\/p>\n<p><p>Python\u7684<code>turtle<\/code>\u6a21\u5757\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u7ed8\u56fe\u5de5\u5177\uff0c\u9002\u5408\u4e8e\u521d\u5b66\u8005\u5b66\u4e60\u7f16\u7a0b\u548c\u7b97\u6cd5\u3002\u5b83\u6a21\u62df\u4e86\u4e00\u4e2a\u5c0f\u6d77\u9f9f\u5728\u5c4f\u5e55\u4e0a\u79fb\u52a8\uff0c\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u63a7\u5236\u8fd9\u53ea\u201c\u6d77\u9f9f\u201d\u8fdb\u884c\u7ed8\u56fe\u3002<code>turtle<\/code>\u6a21\u5757\u975e\u5e38\u9002\u5408\u4e8e\u6559\u5b66\u548c\u6f14\u793a\u7b97\u6cd5\uff0c\u56e0\u4e3a\u5b83\u63d0\u4f9b\u4e86\u53ef\u89c6\u5316\u7684\u7f16\u7a0b\u4f53\u9a8c\u3002<\/p>\n<\/p>\n<ol>\n<li><code>turtle<\/code>\u6a21\u5757\u7684\u5b89\u88c5\u4e0e\u5bfc\u5165<\/li>\n<\/ol>\n<p><p>\u5728Python\u4e2d\uff0c<code>turtle<\/code>\u6a21\u5757\u662f\u5185\u7f6e\u6a21\u5757\uff0c\u901a\u5e38\u4e0d\u9700\u8981\u989d\u5916\u5b89\u88c5\uff0c\u53ea\u9700\u5728\u4ee3\u7801\u4e2d\u5bfc\u5165\u5373\u53ef\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import turtle<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li><code>turtle<\/code>\u6a21\u5757\u7684\u57fa\u672c\u7528\u6cd5<\/li>\n<\/ol>\n<p><p><code>Turtle<\/code>\u5bf9\u8c61\u53ef\u4ee5\u5728\u5c4f\u5e55\u4e0a\u79fb\u52a8\uff0c\u5e76\u901a\u8fc7\u547d\u4ee4\u63a7\u5236\u5176\u884c\u4e3a\u3002\u5e38\u89c1\u7684\u547d\u4ee4\u5305\u62ec\uff1a<\/p>\n<\/p>\n<ul>\n<li><code>turtle.forward(distance)<\/code>: \u5411\u524d\u79fb\u52a8\u6307\u5b9a\u8ddd\u79bb\u3002<\/li>\n<li><code>turtle.backward(distance)<\/code>: \u5411\u540e\u79fb\u52a8\u6307\u5b9a\u8ddd\u79bb\u3002<\/li>\n<li><code>turtle.right(angle)<\/code>: \u987a\u65f6\u9488\u65cb\u8f6c\u6307\u5b9a\u89d2\u5ea6\u3002<\/li>\n<li><code>turtle.left(angle)<\/code>: \u9006\u65f6\u9488\u65cb\u8f6c\u6307\u5b9a\u89d2\u5ea6\u3002<\/li>\n<\/ul>\n<p><p>\u4e8c\u3001\u4f7f\u7528<code>turtle<\/code>\u6a21\u5757\u5199\u5b57<\/p>\n<\/p>\n<ol>\n<li>\u4f7f\u7528<code>write()<\/code>\u65b9\u6cd5<\/li>\n<\/ol>\n<p><p><code>turtle<\/code>\u6a21\u5757\u4e2d\u7684<code>write()<\/code>\u65b9\u6cd5\u7528\u4e8e\u5728\u6d77\u9f9f\u5f53\u524d\u4f4d\u7f6e\u5199\u6587\u5b57\u3002\u57fa\u672c\u7528\u6cd5\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">turtle.write(&quot;Hello, Turtle!&quot;, font=(&quot;Arial&quot;, 16, &quot;normal&quot;))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5176\u4e2d\uff0c<code>font<\/code>\u53c2\u6570\u7528\u4e8e\u8bbe\u7f6e\u5b57\u4f53\u3001\u5b57\u53f7\u548c\u6837\u5f0f\uff08\u5982&quot;normal&quot;, &quot;bold&quot;, &quot;italic&quot;\u7b49\uff09\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li>\u63a7\u5236\u6587\u5b57\u7684\u5bf9\u9f50\u65b9\u5f0f<\/li>\n<\/ol>\n<p><p><code>write()<\/code>\u65b9\u6cd5\u8fd8\u53ef\u4ee5\u901a\u8fc7<code>align<\/code>\u53c2\u6570\u8bbe\u7f6e\u6587\u5b57\u7684\u5bf9\u9f50\u65b9\u5f0f\u3002\u53ef\u9009\u503c\u5305\u62ec&quot;left&quot;\u3001&quot;center&quot;\u548c&quot;right&quot;\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">turtle.write(&quot;Hello, Turtle!&quot;, align=&quot;center&quot;, font=(&quot;Arial&quot;, 16, &quot;normal&quot;))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6837\u53ef\u4ee5\u786e\u4fdd\u6587\u5b57\u5728\u6d77\u9f9f\u5f53\u524d\u4f4d\u7f6e\u7684\u4e2d\u5fc3\u5bf9\u9f50\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u793a\u4f8b\u7a0b\u5e8f<\/p>\n<\/p>\n<p><p>\u4ee5\u4e0b\u662f\u4e00\u4e2a\u5b8c\u6574\u7684\u793a\u4f8b\u7a0b\u5e8f\uff0c\u6f14\u793a\u5982\u4f55\u4f7f\u7528<code>turtle<\/code>\u6a21\u5757\u7ed8\u5236\u6587\u5b57\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import turtle<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a\u7a97\u53e3<\/strong><\/h2>\n<p>window = turtle.Screen()<\/p>\n<p>window.title(&quot;Turtle Writing Example&quot;)<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a\u6d77\u9f9f\u5bf9\u8c61<\/strong><\/h2>\n<p>pen = turtle.Turtle()<\/p>\n<h2><strong>\u8bbe\u7f6e\u521d\u59cb\u4f4d\u7f6e<\/strong><\/h2>\n<p>pen.penup()<\/p>\n<p>pen.goto(0, 0)<\/p>\n<p>pen.pendown()<\/p>\n<h2><strong>\u5199\u6587\u5b57<\/strong><\/h2>\n<p>pen.write(&quot;Hello, Turtle!&quot;, align=&quot;center&quot;, font=(&quot;Arial&quot;, 24, &quot;bold&quot;))<\/p>\n<h2><strong>\u9690\u85cf\u6d77\u9f9f<\/strong><\/h2>\n<p>pen.hideturtle()<\/p>\n<h2><strong>\u4fdd\u6301\u7a97\u53e3\u6253\u5f00<\/strong><\/h2>\n<p>window.m<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>nloop()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u56db\u3001\u5e94\u7528\u573a\u666f<\/p>\n<\/p>\n<ol>\n<li>\u6559\u80b2\u4e0e\u6559\u5b66<\/li>\n<\/ol>\n<p><p><code>Turtle<\/code>\u6a21\u5757\u5728\u6559\u80b2\u9886\u57df\u6709\u5e7f\u6cdb\u7684\u5e94\u7528\uff0c\u5c24\u5176\u662f\u5728\u7f16\u7a0b\u5165\u95e8\u548c\u8ba1\u7b97\u673a\u79d1\u5b66\u6559\u5b66\u4e2d\u3002\u901a\u8fc7\u53ef\u89c6\u5316\u7684\u7ed8\u56fe\u548c\u6587\u5b57\u663e\u793a\uff0c\u5b66\u751f\u53ef\u4ee5\u76f4\u89c2\u5730\u7406\u89e3\u7a0b\u5e8f\u7684\u6267\u884c\u8fc7\u7a0b\u548c\u7b97\u6cd5\u7684\u5de5\u4f5c\u539f\u7406\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li>\u56fe\u5f62\u754c\u9762\u8bbe\u8ba1<\/li>\n<\/ol>\n<p><p>\u867d\u7136<code>turtle<\/code>\u6a21\u5757\u529f\u80fd\u76f8\u5bf9\u7b80\u5355\uff0c\u4f46\u53ef\u4ee5\u7528\u4e8e\u8bbe\u8ba1\u57fa\u672c\u7684\u56fe\u5f62\u754c\u9762\u3002\u4f8b\u5982\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528<code>turtle<\/code>\u7ed8\u5236\u6309\u94ae\u3001\u6587\u672c\u6846\u7b49\u5143\u7d20\uff0c\u5e76\u901a\u8fc7\u4e8b\u4ef6\u5904\u7406\u673a\u5236\u54cd\u5e94\u7528\u6237\u4ea4\u4e92\u3002<\/p>\n<\/p>\n<ol start=\"3\">\n<li>\u6570\u636e\u53ef\u89c6\u5316<\/li>\n<\/ol>\n<p><p><code>turtle<\/code>\u6a21\u5757\u8fd8\u53ef\u4ee5\u7528\u4e8e\u7b80\u5355\u7684\u6570\u636e\u53ef\u89c6\u5316\u3002\u901a\u8fc7\u7ed8\u5236\u56fe\u8868\u548c\u6587\u5b57\u6ce8\u91ca\uff0c\u7528\u6237\u53ef\u4ee5\u5feb\u901f\u4e86\u89e3\u6570\u636e\u7684\u8d8b\u52bf\u548c\u7279\u5f81\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u8fdb\u9636\u6280\u5de7<\/p>\n<\/p>\n<ol>\n<li>\u52a8\u753b\u6548\u679c<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u7ed3\u5408<code>turtle<\/code>\u6a21\u5757\u7684\u79fb\u52a8\u548c\u65cb\u8f6c\u547d\u4ee4\uff0c\u53ef\u4ee5\u521b\u5efa\u7b80\u5355\u7684\u52a8\u753b\u6548\u679c\u3002\u4f8b\u5982\uff0c\u60a8\u53ef\u4ee5\u8ba9\u6d77\u9f9f\u6cbf\u7740\u9884\u8bbe\u8def\u5f84\u79fb\u52a8\uff0c\u540c\u65f6\u5728\u4e0d\u540c\u4f4d\u7f6e\u5199\u5165\u6587\u5b57\uff0c\u5f62\u6210\u52a8\u6001\u5c55\u793a\u6548\u679c\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li>\u591a\u6d77\u9f9f\u534f\u4f5c<\/li>\n<\/ol>\n<p><p><code>turtle<\/code>\u6a21\u5757\u5141\u8bb8\u521b\u5efa\u591a\u4e2a<code>Turtle<\/code>\u5bf9\u8c61\uff0c\u8fd9\u6837\u53ef\u4ee5\u5b9e\u73b0\u591a\u4e2a\u6d77\u9f9f\u5728\u540c\u4e00\u5c4f\u5e55\u4e0a\u534f\u4f5c\u7ed8\u56fe\u548c\u5199\u5b57\u3002\u6bcf\u4e2a<code>Turtle<\/code>\u5bf9\u8c61\u53ef\u4ee5\u72ec\u7acb\u63a7\u5236\u5176\u884c\u4e3a\uff0c\u9002\u5408\u4e8e\u590d\u6742\u56fe\u5f62\u7684\u8bbe\u8ba1\u3002<\/p>\n<\/p>\n<ol start=\"3\">\n<li>\u81ea\u5b9a\u4e49\u5b57\u4f53<\/li>\n<\/ol>\n<p><p>\u867d\u7136<code>turtle<\/code>\u6a21\u5757\u5185\u7f6e\u4e86\u4e00\u4e9b\u57fa\u672c\u5b57\u4f53\uff0c\u4f46\u60a8\u4e5f\u53ef\u4ee5\u901a\u8fc7\u5b89\u88c5\u7cfb\u7edf\u5b57\u4f53\u6216\u4f7f\u7528\u5916\u90e8\u5e93\uff08\u5982<code>PIL<\/code>\uff09\u5b9e\u73b0\u81ea\u5b9a\u4e49\u5b57\u4f53\u6548\u679c\u3002\u8fd9\u6837\u53ef\u4ee5\u63d0\u5347\u6587\u5b57\u7684\u7f8e\u89c2\u6027\u548c\u591a\u6837\u6027\u3002<\/p>\n<\/p>\n<p><p>\u516d\u3001\u5e38\u89c1\u95ee\u9898\u4e0e\u89e3\u51b3\u65b9\u6848<\/p>\n<\/p>\n<ol>\n<li>\u6587\u5b57\u663e\u793a\u4e0d\u5168<\/li>\n<\/ol>\n<p><p>\u5982\u679c\u6587\u5b57\u663e\u793a\u4e0d\u5168\uff0c\u53ef\u80fd\u662f\u56e0\u4e3a\u6d77\u9f9f\u7684\u5f53\u524d\u4f4d\u7f6e\u9760\u8fd1\u7a97\u53e3\u8fb9\u7f18\u3002\u53ef\u4ee5\u901a\u8fc7\u8c03\u6574\u6d77\u9f9f\u7684\u4f4d\u7f6e\u6216\u589e\u5927\u7a97\u53e3\u5c3a\u5bf8\u89e3\u51b3\u6b64\u95ee\u9898\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li>\u5b57\u4f53\u4e0d\u652f\u6301<\/li>\n<\/ol>\n<p><p>\u67d0\u4e9b\u7cfb\u7edf\u53ef\u80fd\u4e0d\u652f\u6301\u7279\u5b9a\u5b57\u4f53\uff0c\u5bfc\u81f4\u6587\u5b57\u663e\u793a\u5f02\u5e38\u3002\u53ef\u4ee5\u5c1d\u8bd5\u66f4\u6362\u4e3a\u5e38\u7528\u5b57\u4f53\uff08\u5982Arial\u3001Courier\u7b49\uff09\u6216\u8005\u5b89\u88c5\u7f3a\u5931\u7684\u5b57\u4f53\u3002<\/p>\n<\/p>\n<ol start=\"3\">\n<li>\u6d77\u9f9f\u901f\u5ea6\u8fc7\u6162<\/li>\n<\/ol>\n<p><p><code>turtle<\/code>\u6a21\u5757\u9ed8\u8ba4\u7684\u7ed8\u56fe\u901f\u5ea6\u8f83\u6162\uff0c\u53ef\u4ee5\u901a\u8fc7<code>turtle.speed()<\/code>\u65b9\u6cd5\u8c03\u6574\u6d77\u9f9f\u7684\u79fb\u52a8\u901f\u5ea6\u3002\u503c\u8d8a\u5927\uff0c\u901f\u5ea6\u8d8a\u5feb\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u4f7f\u7528\u6d77\u9f9f\u5e93\u7ed8\u5236\u6587\u5b57\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u4f7f\u7528\u6d77\u9f9f\uff08Turtle\uff09\u5e93\u7ed8\u5236\u6587\u5b57\u975e\u5e38\u7b80\u5355\u3002\u9996\u5148\uff0c\u786e\u4fdd\u5df2\u5b89\u88c5turtle\u5e93\uff0c\u7136\u540e\u53ef\u4ee5\u901a\u8fc7<code>turtle.write()<\/code>\u51fd\u6570\u6765\u7ed8\u5236\u6587\u5b57\u3002\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"language-python\">import turtle\n\nt = turtle.Turtle()\nt.penup()\nt.goto(0, 0)\nt.pendown()\nt.write(&quot;Hello, Turtle!&quot;, font=(&quot;Arial&quot;, 16, &quot;normal&quot;))\nturtle.done()\n<\/code><\/pre>\n<p>\u901a\u8fc7\u8c03\u6574<code>font<\/code>\u53c2\u6570\uff0c\u53ef\u4ee5\u6539\u53d8\u5b57\u4f53\u3001\u5927\u5c0f\u548c\u6837\u5f0f\u3002<\/p>\n<p><strong>\u6d77\u9f9f\u5e93\u652f\u6301\u54ea\u4e9b\u5b57\u4f53\u548c\u6837\u5f0f\uff1f<\/strong><br \/>\u6d77\u9f9f\u5e93\u652f\u6301\u591a\u79cd\u5b57\u4f53\uff0c\u5982\u201cArial\u201d\u3001\u201cCourier\u201d\u3001\u201cTimes New Roman\u201d\u7b49\u3002\u53ef\u4ee5\u901a\u8fc7\u6307\u5b9a\u4e0d\u540c\u7684\u5b57\u4f53\u540d\u79f0\u3001\u5927\u5c0f\u548c\u6837\u5f0f\uff08\u5982\u201cnormal\u201d\u3001\u201cbold\u201d\u3001\u201citalic\u201d\uff09\u6765\u5b9a\u5236\u6587\u5b57\u6837\u5f0f\u3002\u503c\u5f97\u6ce8\u610f\u7684\u662f\uff0c\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u53ef\u80fd\u652f\u6301\u7684\u5b57\u4f53\u6709\u6240\u4e0d\u540c\u3002<\/p>\n<p><strong>\u5982\u4f55\u8c03\u6574\u6d77\u9f9f\u7ed8\u5236\u6587\u5b57\u7684\u4f4d\u7f6e\u548c\u65b9\u5411\uff1f<\/strong><br \/>\u5728\u6d77\u9f9f\u5e93\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>turtle.goto(x, y)<\/code>\u51fd\u6570\u6765\u8c03\u6574\u6587\u5b57\u7684\u7ed8\u5236\u4f4d\u7f6e\u3002\u6587\u5b57\u7684\u65b9\u5411\u53ef\u4ee5\u901a\u8fc7<code>turtle.setheading(angle)<\/code>\u6765\u8bbe\u7f6e\uff0c<code>angle<\/code>\u4e3a\u89d2\u5ea6\u503c\u3002\u901a\u8fc7\u8fd9\u4e9b\u51fd\u6570\uff0c\u53ef\u4ee5\u7075\u6d3b\u5730\u63a7\u5236\u6587\u5b57\u7684\u663e\u793a\u4f4d\u7f6e\u548c\u65b9\u5411\uff0c\u6ee1\u8db3\u4e0d\u540c\u7684\u9700\u6c42\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u4f7f\u7528\u6d77\u9f9f\uff08turtle\uff09\u6a21\u5757\u5199\u5b57\uff0c\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528turtle\u6a21\u5757\u4e2d\u7684write()\u65b9\u6cd5\u5b9e\u73b0\u3001\u4f7f\u7528 [&hellip;]","protected":false},"author":3,"featured_media":985868,"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\/985861"}],"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=985861"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/985861\/revisions"}],"predecessor-version":[{"id":985873,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/985861\/revisions\/985873"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/985868"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=985861"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=985861"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=985861"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}