{"id":1067365,"date":"2024-12-31T16:34:05","date_gmt":"2024-12-31T08:34:05","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1067365.html"},"modified":"2024-12-31T16:34:07","modified_gmt":"2024-12-31T08:34:07","slug":"%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8python%e5%81%9a%e4%b8%80%e4%b8%aa%e5%8a%a8%e7%94%bb","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1067365.html","title":{"rendered":"\u5982\u4f55\u4f7f\u7528python\u505a\u4e00\u4e2a\u52a8\u753b"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2024\/12\/9b4d1b2f-a17e-4ed5-97d2-2c17f098e8a5.webp?x-oss-process=image\/auto-orient,1\/format,webp\" alt=\"\u5982\u4f55\u4f7f\u7528python\u505a\u4e00\u4e2a\u52a8\u753b\" \/><\/p>\n<p><p> <strong>\u5982\u4f55\u4f7f\u7528Python\u505a\u4e00\u4e2a\u52a8\u753b<\/strong><\/p>\n<\/p>\n<p><p>\u8981\u4f7f\u7528Python\u5236\u4f5c\u52a8\u753b\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u5e93\uff0c\u5176\u4e2d\u5305\u62ec<strong>Matplotlib\u3001Pygame\u3001Tkinter<\/strong>\u7b49\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u8fd9\u4e9b\u5e93\u6765\u521b\u5efa\u52a8\u753b\uff0c\u5e76\u63d0\u4f9b\u76f8\u5e94\u7684\u4ee3\u7801\u793a\u4f8b\u548c\u8be6\u7ec6\u89e3\u91ca\u3002\u672c\u6587\u5c06\u5e2e\u52a9\u60a8\u4e86\u89e3\u6bcf\u79cd\u65b9\u6cd5\u7684\u7279\u70b9\u53ca\u5176\u9002\u7528\u573a\u666f\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001MATPLOTLIB<\/h3>\n<\/p>\n<p><p>Matplotlib\u662f\u4e00\u4e2a\u975e\u5e38\u6d41\u884c\u7684\u7ed8\u56fe\u5e93\uff0c\u4e3b\u8981\u7528\u4e8e\u6570\u636e\u53ef\u89c6\u5316\u3002\u5b83\u4e5f\u53ef\u4ee5\u7528\u4e8e\u5236\u4f5c\u7b80\u5355\u7684\u52a8\u753b\u3002Matplotlib\u4e2d\u7684<code>animation<\/code>\u6a21\u5757\u4f7f\u5f97\u521b\u5efa\u52a8\u753b\u53d8\u5f97\u975e\u5e38\u7b80\u5355\u3002\u4ee5\u4e0b\u662f\u4f7f\u7528Matplotlib\u5236\u4f5c\u52a8\u753b\u7684\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<p><h4>1.1\u3001\u5b89\u88c5Matplotlib<\/h4>\n<\/p>\n<p><p>\u5728\u5f00\u59cb\u4e4b\u524d\uff0c\u60a8\u9700\u8981\u786e\u4fddMatplotlib\u5df2\u7ecf\u5b89\u88c5\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u8fdb\u884c\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>1.2\u3001\u521b\u5efa\u7b80\u5355\u7684Matplotlib\u52a8\u753b<\/h4>\n<\/p>\n<p><p>\u4e0b\u9762\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\uff0c\u5c55\u793a\u4e86\u5982\u4f55\u4f7f\u7528Matplotlib\u5236\u4f5c\u4e00\u4e2a\u7b80\u5355\u7684\u52a8\u753b\u2014\u2014\u4e00\u4e2a\u5728\u6b63\u5f26\u6ce2\u4e0a\u79fb\u52a8\u7684\u70b9\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<p>import matplotlib.pyplot as plt<\/p>\n<p>import matplotlib.animation as animation<\/p>\n<h2><strong>\u521b\u5efa\u56fe\u5f62\u548c\u5b50\u56fe<\/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<p>def update(num, x, line):<\/p>\n<p>    line.set_ydata(np.sin(x + num \/ 10.0))<\/p>\n<p>    return line,<\/p>\n<p>ani = animation.FuncAnimation(fig, update, frames=100, fargs=[x, line], interval=50, blit=True)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u521b\u5efa\u4e86\u4e00\u4e2a\u6b63\u5f26\u6ce2\uff0c\u5e76\u4f7f\u7528<code>animation.FuncAnimation<\/code>\u521b\u5efa\u52a8\u753b\u3002<code>update<\/code>\u51fd\u6570\u66f4\u65b0\u6b63\u5f26\u6ce2\u7684y\u503c\uff0c\u4f7f\u5176\u770b\u8d77\u6765\u50cf\u5728\u79fb\u52a8\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001PYGAME<\/h3>\n<\/p>\n<p><p>Pygame\u662f\u4e00\u4e2a\u8de8\u5e73\u53f0\u7684Python\u6a21\u5757\uff0c\u4e13\u95e8\u7528\u4e8e\u6e38\u620f\u5f00\u53d1\u3002\u5b83\u53ef\u4ee5\u7528\u4e8e\u521b\u5efa\u590d\u6742\u7684\u52a8\u753b\u548c\u4ea4\u4e92\u5f0f\u5e94\u7528\u7a0b\u5e8f\u3002Pygame\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u5de5\u5177\u96c6\u6765\u5904\u7406\u56fe\u5f62\u3001\u58f0\u97f3\u548c\u8f93\u5165\u8bbe\u5907\u3002<\/p>\n<\/p>\n<p><h4>2.1\u3001\u5b89\u88c5Pygame<\/h4>\n<\/p>\n<p><p>\u5728\u5f00\u59cb\u4e4b\u524d\uff0c\u60a8\u9700\u8981\u786e\u4fddPygame\u5df2\u7ecf\u5b89\u88c5\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u8fdb\u884c\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.2\u3001\u521b\u5efa\u7b80\u5355\u7684Pygame\u52a8\u753b<\/h4>\n<\/p>\n<p><p>\u4e0b\u9762\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\uff0c\u5c55\u793a\u4e86\u5982\u4f55\u4f7f\u7528Pygame\u5236\u4f5c\u4e00\u4e2a\u7b80\u5355\u7684\u52a8\u753b\u2014\u2014\u4e00\u4e2a\u5728\u5c4f\u5e55\u4e0a\u79fb\u52a8\u7684\u7403\uff1a<\/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\u5c4f\u5e55\u5c3a\u5bf8<\/strong><\/h2>\n<p>size = width, height = 640, 480<\/p>\n<p>speed = [2, 2]<\/p>\n<p>black = 0, 0, 0<\/p>\n<p>screen = pygame.display.set_mode(size)<\/p>\n<h2><strong>\u52a0\u8f7d\u7403\u7684\u56fe\u50cf<\/strong><\/h2>\n<p>ball = pygame.image.load(&quot;ball.png&quot;)<\/p>\n<p>ballrect = ball.get_rect()<\/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>    ballrect = ballrect.move(speed)<\/p>\n<p>    if ballrect.left &lt; 0 or ballrect.right &gt; width:<\/p>\n<p>        speed[0] = -speed[0]<\/p>\n<p>    if ballrect.top &lt; 0 or ballrect.bottom &gt; height:<\/p>\n<p>        speed[1] = -speed[1]<\/p>\n<p>    screen.fill(black)<\/p>\n<p>    screen.blit(ball, ballrect)<\/p>\n<p>    pygame.display.flip()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u52a0\u8f7d\u4e86\u4e00\u4e2a\u7403\u7684\u56fe\u50cf\uff0c\u5e76\u4f7f\u5176\u5728\u5c4f\u5e55\u4e0a\u6765\u56de\u79fb\u52a8\u3002<code>pygame.display.flip()<\/code>\u7528\u4e8e\u66f4\u65b0\u5c4f\u5e55\u4e0a\u7684\u5185\u5bb9\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001TKINTER<\/h3>\n<\/p>\n<p><p>Tkinter\u662fPython\u7684\u6807\u51c6GUI\u5e93\u3002\u5b83\u53ef\u4ee5\u7528\u4e8e\u521b\u5efa\u7b80\u5355\u7684\u52a8\u753b\u548c\u56fe\u5f62\u7528\u6237\u754c\u9762\u3002Tkinter\u63d0\u4f9b\u4e86\u57fa\u672c\u7684\u56fe\u5f62\u7ed8\u5236\u529f\u80fd\uff0c\u53ef\u4ee5\u7528\u6765\u521b\u5efa\u52a8\u753b\u3002<\/p>\n<\/p>\n<p><h4>3.1\u3001\u5b89\u88c5Tkinter<\/h4>\n<\/p>\n<p><p>Tkinter\u901a\u5e38\u4e0ePython\u4e00\u8d77\u5b89\u88c5\u3002\u5982\u679c\u6ca1\u6709\u5b89\u88c5\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u8fdb\u884c\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install tk<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3.2\u3001\u521b\u5efa\u7b80\u5355\u7684Tkinter\u52a8\u753b<\/h4>\n<\/p>\n<p><p>\u4e0b\u9762\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\uff0c\u5c55\u793a\u4e86\u5982\u4f55\u4f7f\u7528Tkinter\u5236\u4f5c\u4e00\u4e2a\u7b80\u5355\u7684\u52a8\u753b\u2014\u2014\u4e00\u4e2a\u5728\u7a97\u53e3\u4e2d\u79fb\u52a8\u7684\u77e9\u5f62\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import tkinter as tk<\/p>\n<h2><strong>\u521b\u5efa\u4e3b\u7a97\u53e3<\/strong><\/h2>\n<p>root = tk.Tk()<\/p>\n<p>root.title(&quot;Tkinter Animation&quot;)<\/p>\n<h2><strong>\u521b\u5efa\u753b\u5e03<\/strong><\/h2>\n<p>canvas = tk.Canvas(root, width=640, height=480)<\/p>\n<p>canvas.pack()<\/p>\n<h2><strong>\u521b\u5efa\u77e9\u5f62<\/strong><\/h2>\n<p>rect = canvas.create_rectangle(10, 10, 50, 50, fill=&quot;blue&quot;)<\/p>\n<h2><strong>\u53d8\u91cf<\/strong><\/h2>\n<p>dx, dy = 2, 2<\/p>\n<p>def update():<\/p>\n<p>    global dx, dy<\/p>\n<p>    canvas.move(rect, dx, dy)<\/p>\n<p>    pos = canvas.coords(rect)<\/p>\n<p>    if pos[2] &gt;= 640 or pos[0] &lt;= 0:<\/p>\n<p>        dx = -dx<\/p>\n<p>    if pos[3] &gt;= 480 or pos[1] &lt;= 0:<\/p>\n<p>        dy = -dy<\/p>\n<p>    root.after(20, update)<\/p>\n<h2><strong>\u542f\u52a8\u52a8\u753b<\/strong><\/h2>\n<p>update()<\/p>\n<h2><strong>\u8fd0\u884c\u4e3b\u5faa\u73af<\/strong><\/h2>\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\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u521b\u5efa\u4e86\u4e00\u4e2a\u77e9\u5f62\uff0c\u5e76\u4f7f\u7528<code>canvas.move()<\/code>\u65b9\u6cd5\u4f7f\u5176\u5728\u7a97\u53e3\u4e2d\u6765\u56de\u79fb\u52a8\u3002<code>root.after()<\/code>\u65b9\u6cd5\u7528\u4e8e\u5b9a\u65f6\u8c03\u7528<code>update<\/code>\u51fd\u6570\uff0c\u4ee5\u5b9e\u73b0\u52a8\u753b\u6548\u679c\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528Python\u5236\u4f5c\u52a8\u753b\u6709\u591a\u79cd\u65b9\u6cd5\uff0c\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u72ec\u7279\u7684\u4f18\u70b9\u548c\u9002\u7528\u573a\u666f\uff1a<\/p>\n<\/p>\n<ul>\n<li><strong>Matplotlib<\/strong>\uff1a\u9002\u7528\u4e8e\u6570\u636e\u53ef\u89c6\u5316\u548c\u7b80\u5355\u52a8\u753b\uff0c\u4f7f\u7528\u65b9\u4fbf\uff0c\u9002\u5408\u521d\u5b66\u8005\u3002<\/li>\n<li><strong>Pygame<\/strong>\uff1a\u9002\u7528\u4e8e\u6e38\u620f\u5f00\u53d1\u548c\u590d\u6742\u7684\u4ea4\u4e92\u5f0f\u52a8\u753b\uff0c\u529f\u80fd\u5f3a\u5927\u3002<\/li>\n<li><strong>Tkinter<\/strong>\uff1a\u9002\u7528\u4e8e\u521b\u5efa\u7b80\u5355\u7684GUI\u5e94\u7528\u7a0b\u5e8f\u548c\u57fa\u672c\u52a8\u753b\uff0c\u6613\u4e8e\u4f7f\u7528\u3002<\/li>\n<\/ul>\n<p><p>\u5728\u9009\u62e9\u5e93\u65f6\uff0c\u60a8\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u548c\u5e94\u7528\u573a\u666f\u8fdb\u884c\u9009\u62e9\u3002\u5e0c\u671b\u672c\u6587\u80fd\u5e2e\u52a9\u60a8\u4e86\u89e3\u5982\u4f55\u4f7f\u7528Python\u5236\u4f5c\u52a8\u753b\uff0c\u5e76\u4e3a\u60a8\u63d0\u4f9b\u4e00\u4e9b\u6709\u7528\u7684\u4ee3\u7801\u793a\u4f8b\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u9009\u62e9\u5408\u9002\u7684Python\u5e93\u6765\u5236\u4f5c\u52a8\u753b\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u6709\u591a\u4e2a\u5e93\u53ef\u4ee5\u7528\u6765\u5236\u4f5c\u52a8\u753b\uff0c\u6700\u5e38\u7528\u7684\u5305\u62ecMatplotlib\u3001Pygame\u548cManim\u3002Matplotlib\u9002\u5408\u7528\u4e8e\u6570\u636e\u53ef\u89c6\u5316\u52a8\u753b\uff0cPygame\u5219\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u6e38\u620f\u5f00\u53d1\u5e93\uff0c\u9002\u5408\u5236\u4f5c\u4e92\u52a8\u6027\u5f3a\u7684\u52a8\u753b\uff0c\u800cManim\u4e13\u6ce8\u4e8e\u6570\u5b66\u52a8\u753b\u3002\u5982\u679c\u4f60\u7684\u52a8\u753b\u9879\u76ee\u6d89\u53ca\u6570\u5b66\u6216\u79d1\u5b66\u6982\u5ff5\uff0cManim\u4f1a\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\u3002\u5982\u679c\u4f60\u60f3\u5236\u4f5c\u7b80\u5355\u7684\u6e38\u620f\u52a8\u753b\uff0cPygame\u53ef\u80fd\u66f4\u5408\u9002\u3002<\/p>\n<p><strong>\u5236\u4f5c\u52a8\u753b\u7684\u57fa\u672c\u6b65\u9aa4\u6709\u54ea\u4e9b\uff1f<\/strong><br \/>\u5236\u4f5c\u52a8\u753b\u901a\u5e38\u5305\u62ec\u51e0\u4e2a\u57fa\u672c\u6b65\u9aa4\uff1a\u9996\u5148\uff0c\u5b9a\u4e49\u52a8\u753b\u7684\u4e3b\u9898\u548c\u76ee\u6807\uff1b\u5176\u6b21\uff0c\u9009\u62e9\u5408\u9002\u7684Python\u5e93\u5e76\u5b89\u88c5\uff1b\u63a5\u4e0b\u6765\uff0c\u7f16\u5199\u4ee3\u7801\u4ee5\u521b\u5efa\u52a8\u753b\u6548\u679c\uff0c\u5305\u62ec\u8bbe\u7f6e\u5e27\u3001\u6dfb\u52a0\u5143\u7d20\u548c\u8c03\u6574\u65f6\u95f4\u8f74\uff1b\u6700\u540e\uff0c\u8fd0\u884c\u4ee3\u7801\u5e76\u5bfc\u51fa\u52a8\u753b\u7ed3\u679c\u3002\u6bcf\u4e2a\u6b65\u9aa4\u90fd\u9700\u8981\u4ed4\u7ec6\u8003\u8651\uff0c\u4ee5\u786e\u4fdd\u52a8\u753b\u7684\u6d41\u7545\u6027\u548c\u89c6\u89c9\u6548\u679c\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u4f18\u5316\u52a8\u753b\u6027\u80fd\uff1f<\/strong><br \/>\u5728\u5236\u4f5c\u52a8\u753b\u65f6\uff0c\u6027\u80fd\u4f18\u5316\u662f\u4e00\u4e2a\u91cd\u8981\u8003\u8651\u56e0\u7d20\u3002\u53ef\u4ee5\u901a\u8fc7\u51cf\u5c11\u6bcf\u5e27\u7684\u8ba1\u7b97\u91cf\u3001\u4f7f\u7528\u66f4\u9ad8\u6548\u7684\u6570\u636e\u7ed3\u6784\u548c\u7b97\u6cd5\u6765\u63d0\u5347\u6027\u80fd\u3002\u6b64\u5916\uff0c\u5229\u7528\u7f13\u5b58\u673a\u5236\u548c\u56fe\u5f62\u6e32\u67d3\u6280\u672f\u53ef\u4ee5\u52a0\u901f\u52a8\u753b\u7684\u64ad\u653e\u3002\u5728\u4f7f\u7528\u5e93\u5982Pygame\u65f6\uff0c\u5c3d\u91cf\u51cf\u5c11\u5c4f\u5e55\u66f4\u65b0\u6b21\u6570\uff0c\u4f7f\u7528\u5408\u9002\u7684\u5e27\u7387\u6765\u786e\u4fdd\u52a8\u753b\u6d41\u7545\u8fd0\u884c\u3002<\/p>\n<p><strong>\u662f\u5426\u53ef\u4ee5\u5728Python\u4e2d\u521b\u5efa\u4ea4\u4e92\u5f0f\u52a8\u753b\uff1f<\/strong><br \/>\u5f53\u7136\u53ef\u4ee5\uff01Python\u4e2d\u7684Pygame\u548cPlotly\u7b49\u5e93\u90fd\u652f\u6301\u521b\u5efa\u4ea4\u4e92\u5f0f\u52a8\u753b\u3002\u4f7f\u7528Pygame\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u952e\u76d8\u548c\u9f20\u6807\u8f93\u5165\u6765\u63a7\u5236\u52a8\u753b\u7684\u884c\u4e3a\uff1b\u800cPlotly\u5219\u5141\u8bb8\u7528\u6237\u5728\u56fe\u8868\u4e2d\u8fdb\u884c\u4ea4\u4e92\uff0c\u751f\u6210\u52a8\u6001\u7684\u53ef\u89c6\u5316\u6548\u679c\u3002\u8fd9\u79cd\u4ea4\u4e92\u6027\u4e0d\u4ec5\u63d0\u5347\u4e86\u7528\u6237\u4f53\u9a8c\uff0c\u4e5f\u4f7f\u5f97\u52a8\u753b\u66f4\u52a0\u751f\u52a8\u6709\u8da3\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5982\u4f55\u4f7f\u7528Python\u505a\u4e00\u4e2a\u52a8\u753b \u8981\u4f7f\u7528Python\u5236\u4f5c\u52a8\u753b\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u5e93\uff0c\u5176\u4e2d\u5305\u62ecMatplotlib\u3001Py [&hellip;]","protected":false},"author":3,"featured_media":1067370,"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\/1067365"}],"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=1067365"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1067365\/revisions"}],"predecessor-version":[{"id":1067371,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1067365\/revisions\/1067371"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1067370"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1067365"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1067365"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1067365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}