{"id":1116049,"date":"2025-01-08T18:12:54","date_gmt":"2025-01-08T10:12:54","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1116049.html"},"modified":"2025-01-08T18:12:57","modified_gmt":"2025-01-08T10:12:57","slug":"python%e5%a6%82%e4%bd%95%e7%94%a8%e4%bb%a3%e7%a0%81%e7%94%bb%e4%b8%80%e5%b9%85%e7%94%bb","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1116049.html","title":{"rendered":"python\u5982\u4f55\u7528\u4ee3\u7801\u753b\u4e00\u5e45\u753b"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25080540\/7d9e28dd-1342-4744-88fc-84da4e4d08df.webp\" alt=\"python\u5982\u4f55\u7528\u4ee3\u7801\u753b\u4e00\u5e45\u753b\" \/><\/p>\n<p><p> <strong>Python\u5982\u4f55\u7528\u4ee3\u7801\u753b\u4e00\u5e45\u753b<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528Python\u4ee3\u7801\u753b\u753b\u662f\u4e00\u4e2a\u6709\u8da3\u4e14\u5177\u6709\u6311\u6218\u6027\u7684\u4efb\u52a1\uff0c\u901a\u8fc7\u7f16\u5199\u4ee3\u7801\u6765\u751f\u6210\u56fe\u50cf\u4e0d\u4ec5\u80fd\u591f\u63d0\u9ad8\u4f60\u7684\u7f16\u7a0b\u6280\u5de7\uff0c\u8fd8\u80fd\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u7406\u89e3\u56fe\u5f62\u5904\u7406\u7684\u57fa\u672c\u539f\u7406\u3002<strong>\u7ed8\u5236\u7b80\u5355\u56fe\u5f62\u3001\u4f7f\u7528\u56fe\u5f62\u5e93\u3001\u5b9e\u73b0\u590d\u6742\u7ed8\u753b<\/strong>\uff0c\u8fd9\u4e9b\u90fd\u662f\u6211\u4eec\u53ef\u4ee5\u91c7\u7528\u7684\u65b9\u6cd5\u3002\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u63a2\u8ba8\u5982\u4f55\u4f7f\u7528Python\u6765\u7ed8\u5236\u4e00\u5e45\u753b\uff0c\u5e76\u4ecb\u7ecd\u4e00\u4e9b\u5e38\u7528\u7684\u56fe\u5f62\u5e93\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u7ed8\u5236\u7b80\u5355\u56fe\u5f62<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u7ed8\u5236\u7b80\u5355\u7684\u56fe\u5f62\u53ef\u4ee5\u4f7f\u7528\u5185\u7f6e\u7684<code>turtle<\/code>\u6a21\u5757\u3002<code>turtle<\/code>\u6a21\u5757\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7b80\u5355\u7684\u7ed8\u56fe\u5de5\u5177\uff0c\u53ef\u4ee5\u7ed8\u5236\u57fa\u672c\u7684\u51e0\u4f55\u56fe\u5f62\uff0c\u5982\u7ebf\u6761\u3001\u77e9\u5f62\u3001\u5706\u5f62\u7b49\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u4f7f\u7528<code>turtle<\/code>\u6a21\u5757\u7ed8\u5236\u7b80\u5355\u56fe\u5f62\u7684\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import turtle<\/p>\n<h2><strong>\u8bbe\u7f6e\u753b\u5e03\u5927\u5c0f<\/strong><\/h2>\n<p>turtle.setup(800, 600)<\/p>\n<h2><strong>\u521b\u5efa\u753b\u7b14\u5bf9\u8c61<\/strong><\/h2>\n<p>pen = turtle.Turtle()<\/p>\n<h2><strong>\u8bbe\u7f6e\u753b\u7b14\u989c\u8272\u548c\u7c97\u7ec6<\/strong><\/h2>\n<p>pen.color(&quot;blue&quot;)<\/p>\n<p>pen.pensize(3)<\/p>\n<h2><strong>\u7ed8\u5236\u6b63\u65b9\u5f62<\/strong><\/h2>\n<p>for _ in range(4):<\/p>\n<p>    pen.forward(100)<\/p>\n<p>    pen.right(90)<\/p>\n<h2><strong>\u7ed8\u5236\u5706\u5f62<\/strong><\/h2>\n<p>pen.penup()<\/p>\n<p>pen.goto(-150, 0)<\/p>\n<p>pen.pendown()<\/p>\n<p>pen.circle(50)<\/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\u6211\u4eec\u9996\u5148\u5bfc\u5165<code>turtle<\/code>\u6a21\u5757\uff0c\u7136\u540e\u8bbe\u7f6e\u753b\u5e03\u5927\u5c0f\u5e76\u521b\u5efa\u753b\u7b14\u5bf9\u8c61\u3002\u63a5\u7740\uff0c\u6211\u4eec\u8bbe\u7f6e\u753b\u7b14\u7684\u989c\u8272\u548c\u7c97\u7ec6\uff0c\u5e76\u4f7f\u7528<code>forward<\/code>\u548c<code>right<\/code>\u65b9\u6cd5\u7ed8\u5236\u4e00\u4e2a\u6b63\u65b9\u5f62\u3002\u7136\u540e\uff0c\u6211\u4eec\u79fb\u52a8\u753b\u7b14\u7684\u4f4d\u7f6e\uff0c\u7ed8\u5236\u4e00\u4e2a\u5706\u5f62\u3002\u6700\u540e\uff0c\u4f7f\u7528<code>turtle.done()<\/code>\u7ed3\u675f\u7ed8\u56fe\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528\u56fe\u5f62\u5e93<\/h3>\n<\/p>\n<p><p>\u9664\u4e86<code>turtle<\/code>\u6a21\u5757\uff0cPython\u8fd8\u63d0\u4f9b\u4e86\u8bb8\u591a\u5f3a\u5927\u7684\u56fe\u5f62\u5e93\uff0c\u5982<code>matplotlib<\/code>\u3001<code>Pillow<\/code>\u548c<code>PyGame<\/code>\u7b49\u3002\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u8fd9\u4e9b\u5e93\u6765\u7ed8\u5236\u66f4\u590d\u6742\u7684\u56fe\u5f62\u548c\u56fe\u50cf\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u4f7f\u7528 <code>matplotlib<\/code> \u7ed8\u5236\u56fe\u5f62<\/h4>\n<\/p>\n<p><p><code>matplotlib<\/code> \u662f\u4e00\u4e2a\u6d41\u884c\u7684\u7ed8\u56fe\u5e93\uff0c\u5e38\u7528\u4e8e\u6570\u636e\u53ef\u89c6\u5316\u3002\u867d\u7136\u5b83\u4e3b\u8981\u7528\u4e8e\u7ed8\u5236\u56fe\u8868\uff0c\u4f46\u4e5f\u53ef\u4ee5\u7528\u6765\u7ed8\u5236\u7b80\u5355\u7684\u56fe\u5f62\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u4f7f\u7528<code>matplotlib<\/code>\u7ed8\u5236\u56fe\u5f62\u7684\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<p>import numpy as np<\/p>\n<h2><strong>\u521b\u5efa\u6570\u636e<\/strong><\/h2>\n<p>x = np.linspace(0, 2 * np.pi, 100)<\/p>\n<p>y = np.sin(x)<\/p>\n<h2><strong>\u521b\u5efa\u56fe\u5f62<\/strong><\/h2>\n<p>plt.plot(x, y, label=&#39;Sine wave&#39;)<\/p>\n<h2><strong>\u8bbe\u7f6e\u56fe\u5f62\u6807\u9898\u548c\u6807\u7b7e<\/strong><\/h2>\n<p>plt.title(&#39;Simple Plot&#39;)<\/p>\n<p>plt.xlabel(&#39;x&#39;)<\/p>\n<p>plt.ylabel(&#39;sin(x)&#39;)<\/p>\n<h2><strong>\u663e\u793a\u56fe\u4f8b<\/strong><\/h2>\n<p>plt.legend()<\/p>\n<h2><strong>\u663e\u793a\u56fe\u5f62<\/strong><\/h2>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528<code>numpy<\/code>\u751f\u6210\u6570\u636e\uff0c\u5e76\u4f7f\u7528<code>matplotlib<\/code>\u7ed8\u5236\u4e00\u4e2a\u7b80\u5355\u7684\u6b63\u5f26\u6ce2\u56fe\u5f62\u3002\u6211\u4eec\u8fd8\u8bbe\u7f6e\u4e86\u56fe\u5f62\u7684\u6807\u9898\u548c\u6807\u7b7e\uff0c\u5e76\u663e\u793a\u4e86\u56fe\u4f8b\u3002<\/p>\n<\/p>\n<p><h4>2\u3001\u4f7f\u7528 <code>Pillow<\/code> \u5904\u7406\u56fe\u50cf<\/h4>\n<\/p>\n<p><p><code>Pillow<\/code> \u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u56fe\u50cf\u5904\u7406\u5e93\uff0c\u53ef\u4ee5\u7528\u4e8e\u521b\u5efa\u548c\u4fee\u6539\u56fe\u50cf\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u4f7f\u7528<code>Pillow<\/code>\u7ed8\u5236\u56fe\u50cf\u7684\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from PIL import Image, ImageDraw<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a\u65b0\u7684RGB\u56fe\u50cf<\/strong><\/h2>\n<p>image = Image.new(&#39;RGB&#39;, (800, 600), &#39;white&#39;)<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2aDraw\u5bf9\u8c61<\/strong><\/h2>\n<p>draw = ImageDraw.Draw(image)<\/p>\n<h2><strong>\u7ed8\u5236\u77e9\u5f62<\/strong><\/h2>\n<p>draw.rectangle([100, 100, 300, 300], outline=&#39;blue&#39;, width=3)<\/p>\n<h2><strong>\u7ed8\u5236\u5706\u5f62<\/strong><\/h2>\n<p>draw.ellipse([400, 100, 600, 300], outline=&#39;red&#39;, width=3)<\/p>\n<h2><strong>\u4fdd\u5b58\u56fe\u50cf<\/strong><\/h2>\n<p>image.save(&#39;drawing.png&#39;)<\/p>\n<h2><strong>\u663e\u793a\u56fe\u50cf<\/strong><\/h2>\n<p>image.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528<code>Pillow<\/code>\u521b\u5efa\u4e00\u4e2a\u65b0\u7684RGB\u56fe\u50cf\uff0c\u5e76\u4f7f\u7528<code>ImageDraw<\/code>\u5bf9\u8c61\u7ed8\u5236\u4e00\u4e2a\u77e9\u5f62\u548c\u4e00\u4e2a\u5706\u5f62\u3002\u6700\u540e\uff0c\u6211\u4eec\u4fdd\u5b58\u5e76\u663e\u793a\u56fe\u50cf\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u5b9e\u73b0\u590d\u6742\u7ed8\u753b<\/h3>\n<\/p>\n<p><p>\u8981\u5b9e\u73b0\u590d\u6742\u7684\u7ed8\u753b\uff0c\u6211\u4eec\u53ef\u4ee5\u7ed3\u5408\u4f7f\u7528\u591a\u4e2a\u56fe\u5f62\u5e93\uff0c\u5e76\u7f16\u5199\u66f4\u590d\u6742\u7684\u4ee3\u7801\u6765\u751f\u6210\u56fe\u50cf\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u4f7f\u7528<code>Pillow<\/code>\u751f\u6210\u590d\u6742\u56fe\u50cf\u7684\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from PIL import Image, ImageDraw, ImageFont<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a\u65b0\u7684RGB\u56fe\u50cf<\/strong><\/h2>\n<p>image = Image.new(&#39;RGB&#39;, (800, 600), &#39;white&#39;)<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2aDraw\u5bf9\u8c61<\/strong><\/h2>\n<p>draw = ImageDraw.Draw(image)<\/p>\n<h2><strong>\u7ed8\u5236\u80cc\u666f<\/strong><\/h2>\n<p>draw.rectangle([0, 0, 800, 600], fill=&#39;skyblue&#39;)<\/p>\n<h2><strong>\u7ed8\u5236\u592a\u9633<\/strong><\/h2>\n<p>draw.ellipse([600, 50, 750, 200], fill=&#39;yellow&#39;)<\/p>\n<h2><strong>\u7ed8\u5236\u8349\u5730<\/strong><\/h2>\n<p>draw.rectangle([0, 400, 800, 600], fill=&#39;green&#39;)<\/p>\n<h2><strong>\u7ed8\u5236\u623f\u5c4b<\/strong><\/h2>\n<p>draw.rectangle([300, 300, 500, 500], fill=&#39;brown&#39;)<\/p>\n<p>draw.polygon([300, 300, 400, 200, 500, 300], fill=&#39;red&#39;)<\/p>\n<h2><strong>\u7ed8\u5236\u6587\u672c<\/strong><\/h2>\n<p>font = ImageFont.truetype(&#39;arial.ttf&#39;, 24)<\/p>\n<p>draw.text([350, 350], &#39;My House&#39;, font=font, fill=&#39;black&#39;)<\/p>\n<h2><strong>\u4fdd\u5b58\u56fe\u50cf<\/strong><\/h2>\n<p>image.save(&#39;complex_drawing.png&#39;)<\/p>\n<h2><strong>\u663e\u793a\u56fe\u50cf<\/strong><\/h2>\n<p>image.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528<code>Pillow<\/code>\u521b\u5efa\u4e00\u4e2a\u65b0\u7684RGB\u56fe\u50cf\uff0c\u5e76\u4f7f\u7528<code>ImageDraw<\/code>\u5bf9\u8c61\u7ed8\u5236\u80cc\u666f\u3001\u592a\u9633\u3001\u8349\u5730\u548c\u623f\u5c4b\u3002\u6211\u4eec\u8fd8\u6dfb\u52a0\u4e86\u6587\u672c\u4ee5\u6807\u6ce8\u623f\u5c4b\u7684\u4f4d\u7f6e\u3002\u6700\u540e\uff0c\u6211\u4eec\u4fdd\u5b58\u5e76\u663e\u793a\u56fe\u50cf\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u8fd9\u7bc7\u6587\u7ae0\uff0c\u6211\u4eec\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528Python\u4ee3\u7801\u7ed8\u5236\u4e00\u5e45\u753b\u3002\u6211\u4eec\u4ece\u7ed8\u5236\u7b80\u5355\u56fe\u5f62\u5f00\u59cb\uff0c\u9010\u6b65\u4ecb\u7ecd\u4e86\u4f7f\u7528\u56fe\u5f62\u5e93\u8fdb\u884c\u590d\u6742\u7ed8\u56fe\u7684\u65b9\u6cd5\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u6211\u4eec\u4ecb\u7ecd\u4e86<code>turtle<\/code>\u6a21\u5757\u3001<code>matplotlib<\/code>\u5e93\u548c<code>Pillow<\/code>\u5e93\u7684\u4f7f\u7528\u65b9\u6cd5\uff0c\u5e76\u5c55\u793a\u4e86\u5982\u4f55\u7ed3\u5408\u8fd9\u4e9b\u5de5\u5177\u751f\u6210\u590d\u6742\u7684\u56fe\u50cf\u3002<\/p>\n<\/p>\n<p><p>\u65e0\u8bba\u4f60\u662f\u521d\u5b66\u8005\u8fd8\u662f\u6709\u7ecf\u9a8c\u7684\u5f00\u53d1\u8005\uff0c\u7ed8\u5236\u56fe\u5f62\u548c\u56fe\u50cf\u90fd\u662f\u4e00\u4e2a\u6709\u8da3\u7684\u5b9e\u8df5\u9879\u76ee\u3002\u901a\u8fc7\u4e0d\u65ad\u5c1d\u8bd5\u548c\u7ec3\u4e60\uff0c\u4f60\u53ef\u4ee5\u63d0\u9ad8\u4f60\u7684\u7f16\u7a0b\u6280\u5de7\uff0c\u5e76\u63a2\u7d22\u66f4\u591a\u7684\u56fe\u5f62\u5904\u7406\u6280\u672f\u3002\u5e0c\u671b\u8fd9\u7bc7\u6587\u7ae0\u80fd\u4e3a\u4f60\u63d0\u4f9b\u4e00\u4e9b\u6709\u7528\u7684\u6307\u5bfc\u548c\u7075\u611f\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u9009\u62e9\u5408\u9002\u7684\u5e93\u6765\u7ed8\u5236\u56fe\u5f62\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u6709\u51e0\u4e2a\u6d41\u884c\u7684\u5e93\u53ef\u4ee5\u7528\u4e8e\u7ed8\u56fe\uff0c\u5982Matplotlib\u3001PIL\uff08Pillow\uff09\u548cTurtle\u3002Matplotlib\u9002\u5408\u7ed8\u5236\u5404\u79cd\u56fe\u8868\u548c\u6570\u636e\u53ef\u89c6\u5316\uff1bPIL\u5219\u66f4\u9002\u5408\u56fe\u50cf\u5904\u7406\u548c\u521b\u5efa\uff1b\u800cTurtle\u975e\u5e38\u9002\u5408\u521d\u5b66\u8005\uff0c\u7528\u4e8e\u7ed8\u5236\u7b80\u5355\u7684\u56fe\u5f62\u548c\u5b66\u4e60\u7f16\u7a0b\u6982\u5ff5\u3002\u9009\u62e9\u54ea\u4e2a\u5e93\u4e3b\u8981\u53d6\u51b3\u4e8e\u4f60\u7684\u9700\u6c42\u548c\u76ee\u6807\u3002<\/p>\n<p><strong>\u53ef\u4ee5\u7528Python\u7ed8\u5236\u54ea\u4e9b\u7c7b\u578b\u7684\u56fe\u5f62\uff1f<\/strong><br \/>Python\u53ef\u4ee5\u7ed8\u5236\u591a\u79cd\u7c7b\u578b\u7684\u56fe\u5f62\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\u6298\u7ebf\u56fe\u3001\u67f1\u72b6\u56fe\u3001\u6563\u70b9\u56fe\u3001\u997c\u56fe\u3001\u4ee5\u53ca\u66f4\u590d\u6742\u7684\u51e0\u4f55\u56fe\u5f62\u7b49\u3002\u901a\u8fc7Turtle\u5e93\uff0c\u4f60\u751a\u81f3\u53ef\u4ee5\u7ed8\u5236\u590d\u6742\u7684\u5f62\u72b6\uff0c\u5982\u591a\u8fb9\u5f62\u3001\u87ba\u65cb\u548c\u82b1\u6735\u56fe\u6848\u3002\u6839\u636e\u4e0d\u540c\u7684\u5e93\u548c\u65b9\u6cd5\uff0c\u7ed8\u56fe\u7684\u6837\u5f0f\u548c\u590d\u6742\u6027\u4e5f\u4f1a\u6709\u6240\u4e0d\u540c\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u6dfb\u52a0\u989c\u8272\u548c\u6837\u5f0f\u5230\u7ed8\u5236\u7684\u56fe\u5f62\u4e2d\uff1f<\/strong><br \/>\u5728\u4f7f\u7528Matplotlib\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u989c\u8272\u53c2\u6570\u3001\u7ebf\u6761\u6837\u5f0f\u548c\u6807\u8bb0\u6837\u5f0f\u6765\u7f8e\u5316\u56fe\u5f62\u3002Turtle\u5e93\u4e5f\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u989c\u8272\u548c\u586b\u5145\u9009\u9879\u3002\u53ea\u9700\u4f7f\u7528\u76f8\u5e94\u7684\u51fd\u6570\uff0c\u4f8b\u5982<code>color()<\/code>\u548c<code>begin_fill()<\/code>\uff0c\u5c31\u53ef\u4ee5\u8f7b\u677e\u521b\u5efa\u591a\u5f69\u7684\u56fe\u5f62\u3002\u638c\u63e1\u8fd9\u4e9b\u6280\u5de7\u540e\uff0c\u53ef\u4ee5\u4f7f\u7ed8\u5236\u7684\u4f5c\u54c1\u66f4\u5177\u5438\u5f15\u529b\u548c\u8868\u73b0\u529b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u5982\u4f55\u7528\u4ee3\u7801\u753b\u4e00\u5e45\u753b \u4f7f\u7528Python\u4ee3\u7801\u753b\u753b\u662f\u4e00\u4e2a\u6709\u8da3\u4e14\u5177\u6709\u6311\u6218\u6027\u7684\u4efb\u52a1\uff0c\u901a\u8fc7\u7f16\u5199\u4ee3\u7801\u6765\u751f\u6210\u56fe\u50cf\u4e0d [&hellip;]","protected":false},"author":3,"featured_media":1116058,"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\/1116049"}],"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=1116049"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1116049\/revisions"}],"predecessor-version":[{"id":1116061,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1116049\/revisions\/1116061"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1116058"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1116049"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1116049"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1116049"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}