{"id":1081731,"date":"2025-01-08T12:42:11","date_gmt":"2025-01-08T04:42:11","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1081731.html"},"modified":"2025-01-08T12:42:13","modified_gmt":"2025-01-08T04:42:13","slug":"python%e5%a6%82%e4%bd%95%e5%86%99%e4%b8%80%e4%b8%aa%e5%8a%a8%e7%94%bb-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1081731.html","title":{"rendered":"Python\u5982\u4f55\u5199\u4e00\u4e2a\u52a8\u753b"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24183615\/7cf9ea28-e080-4230-8955-aefb4dbb2bda.webp\" alt=\"Python\u5982\u4f55\u5199\u4e00\u4e2a\u52a8\u753b\" \/><\/p>\n<p><p> <strong>Python\u5199\u4e00\u4e2a\u52a8\u753b\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u5b9e\u73b0\uff0c\u5305\u62ec\u4f7f\u7528Pygame\u3001Matplotlib\u3001Tkinter\u548cManim\u7b49\u5e93\u3002<\/strong>\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u4e9b\u5e93\u7684\u4f7f\u7528\u65b9\u6cd5\uff0c\u5e76\u63d0\u4f9b\u793a\u4f8b\u4ee3\u7801\u548c\u5177\u4f53\u6b65\u9aa4\uff0c\u5e2e\u52a9\u4f60\u5728Python\u4e2d\u521b\u5efa\u52a8\u753b\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528Pygame\u521b\u5efa\u52a8\u753b<\/h3>\n<\/p>\n<p><p>Pygame\u662f\u4e00\u4e2a\u8de8\u5e73\u53f0\u7684Python\u6a21\u5757\uff0c\u7528\u4e8e\u7f16\u5199\u89c6\u9891\u6e38\u620f\u3002\u5b83\u5305\u542b\u8ba1\u7b97\u673a\u56fe\u5f62\u548c\u58f0\u97f3\u5e93\uff0c\u662f\u521b\u5efa\u52a8\u753b\u7684\u4e00\u4e2a\u5f3a\u5927\u5de5\u5177\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u5b89\u88c5Pygame<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u4f60\u9700\u8981\u5b89\u88c5Pygame\u5e93\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u6765\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install pygame<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684\u52a8\u753b<\/h4>\n<\/p>\n<p><p>\u4e0b\u9762\u662f\u4e00\u4e2a\u7b80\u5355\u7684Pygame\u52a8\u753b\u793a\u4f8b\uff0c\u6f14\u793a\u5982\u4f55\u5728\u7a97\u53e3\u4e2d\u79fb\u52a8\u4e00\u4e2a\u77e9\u5f62\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pygame<\/p>\n<p>import sys<\/p>\n<h2><strong>\u521d\u59cb\u5316Pygame<\/strong><\/h2>\n<p>pygame.init()<\/p>\n<h2><strong>\u8bbe\u7f6e\u7a97\u53e3\u5c3a\u5bf8<\/strong><\/h2>\n<p>window_size = (800, 600)<\/p>\n<p>screen = pygame.display.set_mode(window_size)<\/p>\n<p>pygame.display.set_caption(&#39;Pygame Animation&#39;)<\/p>\n<h2><strong>\u5b9a\u4e49\u989c\u8272<\/strong><\/h2>\n<p>white = (255, 255, 255)<\/p>\n<p>red = (255, 0, 0)<\/p>\n<h2><strong>\u521d\u59cb\u4f4d\u7f6e\u548c\u901f\u5ea6<\/strong><\/h2>\n<p>x, y = 100, 100<\/p>\n<p>x_speed, y_speed = 5, 5<\/p>\n<h2><strong>\u4e3b\u5faa\u73af<\/strong><\/h2>\n<p>while True:<\/p>\n<p>    for event in pygame.event.get():<\/p>\n<p>        if event.type == pygame.QUIT:<\/p>\n<p>            pygame.quit()<\/p>\n<p>            sys.exit()<\/p>\n<p>    # \u66f4\u65b0\u4f4d\u7f6e<\/p>\n<p>    x += x_speed<\/p>\n<p>    y += y_speed<\/p>\n<p>    # \u8fb9\u754c\u68c0\u6d4b<\/p>\n<p>    if x &gt; window_size[0] - 50 or x &lt; 0:<\/p>\n<p>        x_speed = -x_speed<\/p>\n<p>    if y &gt; window_size[1] - 50 or y &lt; 0:<\/p>\n<p>        y_speed = -y_speed<\/p>\n<p>    # \u586b\u5145\u80cc\u666f<\/p>\n<p>    screen.fill(white)<\/p>\n<p>    # \u7ed8\u5236\u77e9\u5f62<\/p>\n<p>    pygame.draw.rect(screen, red, (x, y, 50, 50))<\/p>\n<p>    # \u66f4\u65b0\u663e\u793a<\/p>\n<p>    pygame.display.flip()<\/p>\n<p>    # \u63a7\u5236\u5e27\u7387<\/p>\n<p>    pygame.time.Clock().tick(30)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u9996\u5148\u521d\u59cb\u5316\u4e86Pygame\uff0c\u5e76\u8bbe\u7f6e\u4e86\u4e00\u4e2a800&#215;600\u7684\u7a97\u53e3\u3002\u7136\u540e\uff0c\u6211\u4eec\u5b9a\u4e49\u4e86\u4e00\u4e2a\u77e9\u5f62\u7684\u521d\u59cb\u4f4d\u7f6e\u548c\u901f\u5ea6\u3002\u5728\u4e3b\u5faa\u73af\u4e2d\uff0c\u6211\u4eec\u4e0d\u65ad\u66f4\u65b0\u77e9\u5f62\u7684\u4f4d\u7f6e\uff0c\u5e76\u5728\u6bcf\u4e00\u5e27\u4e2d\u7ed8\u5236\u5b83\u3002\u901a\u8fc7\u8fb9\u754c\u68c0\u6d4b\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u77e9\u5f62\u5728\u7a97\u53e3\u8fb9\u7f18\u53cd\u5f39\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528Matplotlib\u521b\u5efa\u52a8\u753b<\/h3>\n<\/p>\n<p><p>Matplotlib\u662f\u4e00\u4e2a\u5e7f\u6cdb\u4f7f\u7528\u7684\u7ed8\u56fe\u5e93\uff0c\u4e5f\u53ef\u4ee5\u7528\u6765\u521b\u5efa\u52a8\u753b\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u5b89\u88c5Matplotlib<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u4f60\u9700\u8981\u5b89\u88c5Matplotlib\u5e93\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u6765\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install matplotlib<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684\u52a8\u753b<\/h4>\n<\/p>\n<p><p>\u4e0b\u9762\u662f\u4e00\u4e2a\u4f7f\u7528Matplotlib\u521b\u5efa\u7b80\u5355\u52a8\u753b\u7684\u793a\u4f8b\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<p>import matplotlib.animation as animation<\/p>\n<p>import numpy as np<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a\u56fe\u5f62\u5bf9\u8c61<\/strong><\/h2>\n<p>fig, ax = plt.subplots()<\/p>\n<p>x = np.linspace(0, 2 * np.pi, 100)<\/p>\n<p>line, = ax.plot(x, np.sin(x))<\/p>\n<h2><strong>\u66f4\u65b0\u51fd\u6570<\/strong><\/h2>\n<p>def update(frame):<\/p>\n<p>    line.set_ydata(np.sin(x + frame \/ 10))<\/p>\n<p>    return line,<\/p>\n<h2><strong>\u521b\u5efa\u52a8\u753b<\/strong><\/h2>\n<p>ani = animation.FuncAnimation(fig, update, frames=range(100), blit=True)<\/p>\n<h2><strong>\u663e\u793a\u52a8\u753b<\/strong><\/h2>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u9996\u5148\u521b\u5efa\u4e86\u4e00\u4e2aMatplotlib\u56fe\u5f62\u5bf9\u8c61\uff0c\u5e76\u7ed8\u5236\u4e86\u4e00\u6761\u6b63\u5f26\u66f2\u7ebf\u3002\u7136\u540e\uff0c\u6211\u4eec\u5b9a\u4e49\u4e86\u4e00\u4e2a\u66f4\u65b0\u51fd\u6570\uff0c\u7528\u4e8e\u5728\u6bcf\u4e00\u5e27\u4e2d\u66f4\u65b0\u66f2\u7ebf\u7684\u6570\u636e\u3002\u901a\u8fc7<code>animation.FuncAnimation<\/code>\u51fd\u6570\uff0c\u6211\u4eec\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u52a8\u753b\uff0c\u5e76\u5728\u7a97\u53e3\u4e2d\u663e\u793a\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528Tkinter\u521b\u5efa\u52a8\u753b<\/h3>\n<\/p>\n<p><p>Tkinter\u662fPython\u7684\u6807\u51c6GUI\u5e93\uff0c\u53ef\u4ee5\u7528\u6765\u521b\u5efa\u7b80\u5355\u7684\u52a8\u753b\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684\u52a8\u753b<\/h4>\n<\/p>\n<p><p>\u4e0b\u9762\u662f\u4e00\u4e2a\u4f7f\u7528Tkinter\u521b\u5efa\u7b80\u5355\u52a8\u753b\u7684\u793a\u4f8b\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import tkinter as tk<\/p>\n<h2><strong>\u521b\u5efa\u7a97\u53e3<\/strong><\/h2>\n<p>root = tk.Tk()<\/p>\n<p>root.title(&#39;Tkinter Animation&#39;)<\/p>\n<p>canvas = tk.Canvas(root, width=800, height=600)<\/p>\n<p>canvas.pack()<\/p>\n<h2><strong>\u521d\u59cb\u4f4d\u7f6e\u548c\u901f\u5ea6<\/strong><\/h2>\n<p>x, y = 100, 100<\/p>\n<p>x_speed, y_speed = 5, 5<\/p>\n<h2><strong>\u7ed8\u5236\u77e9\u5f62<\/strong><\/h2>\n<p>rect = canvas.create_rectangle(x, y, x + 50, y + 50, fill=&#39;red&#39;)<\/p>\n<h2><strong>\u66f4\u65b0\u4f4d\u7f6e\u51fd\u6570<\/strong><\/h2>\n<p>def update_position():<\/p>\n<p>    global x, y, x_speed, y_speed<\/p>\n<p>    x += x_speed<\/p>\n<p>    y += y_speed<\/p>\n<p>    # \u8fb9\u754c\u68c0\u6d4b<\/p>\n<p>    if x &gt; 750 or x &lt; 0:<\/p>\n<p>        x_speed = -x_speed<\/p>\n<p>    if y &gt; 550 or y &lt; 0:<\/p>\n<p>        y_speed = -y_speed<\/p>\n<p>    # \u66f4\u65b0\u77e9\u5f62\u4f4d\u7f6e<\/p>\n<p>    canvas.coords(rect, x, y, x + 50, y + 50)<\/p>\n<p>    # \u8bbe\u7f6e\u4e0b\u4e00\u6b21\u66f4\u65b0<\/p>\n<p>    root.after(30, update_position)<\/p>\n<h2><strong>\u542f\u52a8\u52a8\u753b<\/strong><\/h2>\n<p>update_position()<\/p>\n<p>root.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>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u9996\u5148\u521b\u5efa\u4e86\u4e00\u4e2aTkinter\u7a97\u53e3\u548c\u753b\u5e03\u3002\u7136\u540e\uff0c\u6211\u4eec\u5b9a\u4e49\u4e86\u4e00\u4e2a\u77e9\u5f62\u7684\u521d\u59cb\u4f4d\u7f6e\u548c\u901f\u5ea6\u3002\u5728<code>update_position<\/code>\u51fd\u6570\u4e2d\uff0c\u6211\u4eec\u4e0d\u65ad\u66f4\u65b0\u77e9\u5f62\u7684\u4f4d\u7f6e\uff0c\u5e76\u5728\u6bcf\u4e00\u5e27\u4e2d\u91cd\u65b0\u7ed8\u5236\u5b83\u3002\u901a\u8fc7<code>root.after<\/code>\u51fd\u6570\uff0c\u6211\u4eec\u53ef\u4ee5\u8bbe\u7f6e\u4e0b\u4e00\u6b21\u66f4\u65b0\u7684\u65f6\u95f4\u95f4\u9694\uff0c\u4ece\u800c\u521b\u5efa\u52a8\u753b\u6548\u679c\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u4f7f\u7528Manim\u521b\u5efa\u52a8\u753b<\/h3>\n<\/p>\n<p><p>Manim\u662f\u4e00\u4e2a\u52a8\u753b\u5f15\u64ce\uff0c\u53ef\u4ee5\u7528\u4e8e\u5236\u4f5c\u6570\u5b66\u52a8\u753b\u3002\u5b83\u9002\u7528\u4e8e\u521b\u5efa\u9ad8\u8d28\u91cf\u7684\u52a8\u753b\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u5b89\u88c5Manim<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u4f60\u9700\u8981\u5b89\u88c5Manim\u5e93\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u6765\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install manim<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684\u52a8\u753b<\/h4>\n<\/p>\n<p><p>\u4e0b\u9762\u662f\u4e00\u4e2a\u4f7f\u7528Manim\u521b\u5efa\u7b80\u5355\u52a8\u753b\u7684\u793a\u4f8b\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from manim import *<\/p>\n<p>class MyScene(Scene):<\/p>\n<p>    def construct(self):<\/p>\n<p>        circle = Circle()<\/p>\n<p>        self.play(Create(circle))<\/p>\n<p>        self.play(circle.animate.shift(RIGHT*2))<\/p>\n<p>        self.play(circle.animate.shift(UP*2))<\/p>\n<p>        self.play(FadeOut(circle))<\/p>\n<h2><strong>\u6e32\u67d3\u52a8\u753b<\/strong><\/h2>\n<p>if __name__ == &quot;__main__&quot;:<\/p>\n<p>    MyScene().render()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u9996\u5148\u5bfc\u5165\u4e86Manim\u5e93\uff0c\u5e76\u521b\u5efa\u4e86\u4e00\u4e2a\u81ea\u5b9a\u4e49\u7684\u573a\u666f\u7c7b<code>MyScene<\/code>\u3002\u5728<code>construct<\/code>\u65b9\u6cd5\u4e2d\uff0c\u6211\u4eec\u521b\u5efa\u4e86\u4e00\u4e2a\u5706\u5f62\uff0c\u5e76\u901a\u8fc7\u5404\u79cd\u52a8\u753b\u6548\u679c\u6765\u79fb\u52a8\u548c\u6de1\u51fa\u5b83\u3002\u6700\u540e\uff0c\u901a\u8fc7<code>MyScene().render()<\/code>\u51fd\u6570\uff0c\u6211\u4eec\u53ef\u4ee5\u6e32\u67d3\u5e76\u663e\u793a\u52a8\u753b\u3002<\/p>\n<\/p>\n<p><h3>\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u672c\u6587\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528Pygame\u3001Matplotlib\u3001Tkinter\u548cManim\u5728Python\u4e2d\u521b\u5efa\u52a8\u753b\u3002\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u72ec\u7279\u7684\u4f18\u52bf\u548c\u9002\u7528\u573a\u666f\uff0c\u8bfb\u8005\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u5e93\u6765\u521b\u5efa\u52a8\u753b\u3002\u5e0c\u671b\u8fd9\u7bc7\u6587\u7ae0\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9\uff0c\u80fd\u591f\u5728Python\u4e2d\u521b\u5efa\u51fa\u4f60\u60f3\u8981\u7684\u52a8\u753b\u6548\u679c\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u521b\u5efa\u7b80\u5355\u7684\u52a8\u753b\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u4e2a\u5e93\u6765\u521b\u5efa\u52a8\u753b\uff0c\u5176\u4e2d\u6700\u5e38\u7528\u7684\u662fPygame\u548cMatplotlib\u3002Pygame\u9002\u5408\u5f00\u53d12D\u6e38\u620f\u548c\u52a8\u753b\uff0c\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u56fe\u5f62\u548c\u58f0\u97f3\u5904\u7406\u529f\u80fd\uff0c\u800cMatplotlib\u5219\u9002\u5408\u751f\u6210\u6570\u636e\u53ef\u89c6\u5316\u52a8\u753b\u3002\u901a\u8fc7\u5b66\u4e60\u8fd9\u4e9b\u5e93\u7684\u57fa\u672c\u7528\u6cd5\uff0c\u60a8\u53ef\u4ee5\u8f7b\u677e\u5236\u4f5c\u52a8\u753b\u6548\u679c\u3002<\/p>\n<p><strong>\u6709\u54ea\u4e9bPython\u5e93\u9002\u5408\u5236\u4f5c\u52a8\u753b\uff1f<\/strong><br \/>Python\u4e2d\u6709\u51e0\u4e2a\u5e93\u975e\u5e38\u9002\u5408\u5236\u4f5c\u52a8\u753b\uff0c\u5305\u62ecPygame\u3001Matplotlib\u3001Tkinter\u548cPillow\u3002Pygame\u662f\u4e00\u4e2a\u4e13\u6ce8\u4e8e\u6e38\u620f\u5f00\u53d1\u7684\u5e93\uff0cMatplotlib\u53ef\u4ee5\u7528\u6765\u5236\u4f5c\u6570\u636e\u53ef\u89c6\u5316\u52a8\u753b\uff0cTkinter\u53ef\u7528\u4e8e\u521b\u5efaGUI\u5e94\u7528\u7a0b\u5e8f\u4e2d\u7684\u7b80\u5355\u52a8\u753b\uff0c\u800cPillow\u5219\u9002\u5408\u5904\u7406\u56fe\u50cf\u548c\u7b80\u5355\u7684GIF\u52a8\u753b\u3002\u6839\u636e\u60a8\u7684\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u5e93\u662f\u5173\u952e\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python\u52a8\u753b\u4e2d\u5b9e\u73b0\u4ea4\u4e92\u6027\uff1f<\/strong><br \/>\u5b9e\u73b0\u4ea4\u4e92\u6027\u53ef\u4ee5\u901a\u8fc7\u54cd\u5e94\u7528\u6237\u8f93\u5165\u6765\u589e\u5f3a\u52a8\u753b\u4f53\u9a8c\u3002\u5728Pygame\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e8b\u4ef6\u5904\u7406\u6765\u6355\u83b7\u952e\u76d8\u548c\u9f20\u6807\u8f93\u5165\uff0c\u4ece\u800c\u63a7\u5236\u52a8\u753b\u7684\u884c\u4e3a\u3002\u5728Matplotlib\u4e2d\uff0c\u53ef\u4ee5\u5229\u7528\u4ea4\u4e92\u5f0f\u56fe\u5f62\u754c\u9762\uff0c\u5141\u8bb8\u7528\u6237\u901a\u8fc7\u70b9\u51fb\u6216\u62d6\u52a8\u6765\u4e0e\u52a8\u753b\u8fdb\u884c\u4e92\u52a8\u3002\u901a\u8fc7\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u60a8\u53ef\u4ee5\u521b\u5efa\u66f4\u751f\u52a8\u6709\u8da3\u7684\u52a8\u753b\u6548\u679c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u5199\u4e00\u4e2a\u52a8\u753b\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u5b9e\u73b0\uff0c\u5305\u62ec\u4f7f\u7528Pygame\u3001Matplotlib\u3001Tkinter\u548cMan [&hellip;]","protected":false},"author":3,"featured_media":1081736,"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\/1081731"}],"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=1081731"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1081731\/revisions"}],"predecessor-version":[{"id":1081737,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1081731\/revisions\/1081737"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1081736"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1081731"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1081731"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1081731"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}