{"id":1186360,"date":"2025-01-15T19:51:39","date_gmt":"2025-01-15T11:51:39","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1186360.html"},"modified":"2025-01-15T19:51:42","modified_gmt":"2025-01-15T11:51:42","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8python%e7%aa%97%e5%8f%a3%e4%b8%ad%e7%94%bb%e5%9c%86","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1186360.html","title":{"rendered":"\u5982\u4f55\u5728python\u7a97\u53e3\u4e2d\u753b\u5706"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25135214\/7eefd0dc-ff9b-4a6f-904c-08eec3302acb.webp\" alt=\"\u5982\u4f55\u5728python\u7a97\u53e3\u4e2d\u753b\u5706\" \/><\/p>\n<p><p> \u5728Python\u7a97\u53e3\u4e2d\u753b\u5706\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u65b9\u6cd5\u548c\u5e93\uff0c\u5982<strong>Turtle\u3001Pygame\u3001matplotlib<\/strong>\u3002\u5176\u4e2d\uff0c\u4f7f\u7528<strong>Turtle\u5e93\u3001Pygame\u5e93<\/strong>\u662f\u6bd4\u8f83\u5e38\u89c1\u548c\u6613\u4e8e\u4e0a\u624b\u7684\u65b9\u6cd5\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd<strong>Turtle\u5e93<\/strong>\u5b9e\u73b0\u753b\u5706\u7684\u6b65\u9aa4\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001Turtle\u5e93\u753b\u5706<\/h3>\n<\/p>\n<p><h4>1\u3001\u5b89\u88c5\u4e0e\u5bfc\u5165Turtle\u5e93<\/h4>\n<\/p>\n<p><p>Turtle\u662fPython\u5185\u7f6e\u7684\u4e00\u4e2a\u7ed8\u56fe\u5e93\uff0c\u65e0\u9700\u989d\u5916\u5b89\u88c5\u3002\u6211\u4eec\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7<code>import turtle<\/code>\u6765\u5bfc\u5165\u8be5\u5e93\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import turtle<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u8bbe\u7f6e\u7a97\u53e3\u548c\u753b\u7b14<\/h4>\n<\/p>\n<p><p>\u5728\u4f7f\u7528Turtle\u7ed8\u56fe\u4e4b\u524d\uff0c\u9700\u8981\u8bbe\u7f6e\u7a97\u53e3\u548c\u753b\u7b14\u7684\u5c5e\u6027\uff0c\u4f8b\u5982\u7a97\u53e3\u7684\u5927\u5c0f\u3001\u80cc\u666f\u989c\u8272\u3001\u753b\u7b14\u7684\u989c\u8272\u548c\u7c97\u7ec6\u7b49\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u521b\u5efa\u4e00\u4e2a\u753b\u5e03\u7a97\u53e3<\/p>\n<p>window = turtle.Screen()<\/p>\n<p>window.bgcolor(&quot;white&quot;)  # \u8bbe\u7f6e\u80cc\u666f\u989c\u8272\u4e3a\u767d\u8272<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a\u753b\u7b14\u5bf9\u8c61<\/strong><\/h2>\n<p>pen = turtle.Turtle()<\/p>\n<p>pen.color(&quot;black&quot;)  # \u8bbe\u7f6e\u753b\u7b14\u989c\u8272\u4e3a\u9ed1\u8272<\/p>\n<p>pen.pensize(2)  # \u8bbe\u7f6e\u753b\u7b14\u7c97\u7ec6<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3\u3001\u753b\u5706<\/h4>\n<\/p>\n<p><p>Turtle\u5e93\u4e2d\u753b\u5706\u975e\u5e38\u7b80\u5355\uff0c\u53ea\u9700\u8c03\u7528<code>circle(radius)<\/code>\u65b9\u6cd5\u5373\u53ef\uff0c\u5176\u4e2d<code>radius<\/code>\u4e3a\u5706\u7684\u534a\u5f84\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u753b\u4e00\u4e2a\u534a\u5f84\u4e3a50\u7684\u5706<\/p>\n<p>pen.circle(50)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>4\u3001\u8bbe\u7f6e\u5706\u7684\u8d77\u59cb\u4f4d\u7f6e\u548c\u65b9\u5411<\/h4>\n<\/p>\n<p><p>\u5728\u753b\u5706\u4e4b\u524d\uff0c\u53ef\u4ee5\u901a\u8fc7<code>pen.up()<\/code>\u548c<code>pen.goto(x, y)<\/code>\u65b9\u6cd5\u6765\u8bbe\u7f6e\u5706\u7684\u8d77\u59cb\u4f4d\u7f6e\uff0c\u901a\u8fc7<code>pen.setheading(angle)<\/code>\u65b9\u6cd5\u6765\u8bbe\u7f6e\u5706\u7684\u65b9\u5411\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u79fb\u52a8\u753b\u7b14\u5230\u6307\u5b9a\u4f4d\u7f6e\uff0c\u4e0d\u753b\u7ebf<\/p>\n<p>pen.up()<\/p>\n<p>pen.goto(0, -50)  # \u5c06\u753b\u7b14\u79fb\u52a8\u5230(0, -50)\u4f4d\u7f6e<\/p>\n<p>pen.down()  # \u653e\u4e0b\u753b\u7b14\uff0c\u51c6\u5907\u753b\u56fe<\/p>\n<p>pen.setheading(0)  # \u8bbe\u7f6e\u753b\u7b14\u65b9\u5411\u4e3a0\u5ea6<\/p>\n<h2><strong>\u753b\u5706<\/strong><\/h2>\n<p>pen.circle(50)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>5\u3001\u7ed3\u675f\u7ed8\u56fe<\/h4>\n<\/p>\n<p><p>\u7ed8\u56fe\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528<code>turtle.done()<\/code>\u6765\u7ed3\u675f\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">turtle.done()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001Pygame\u5e93\u753b\u5706<\/h3>\n<\/p>\n<p><h4>1\u3001\u5b89\u88c5\u4e0e\u5bfc\u5165Pygame\u5e93<\/h4>\n<\/p>\n<p><p>Pygame\u662f\u4e00\u4e2a\u8de8\u5e73\u53f0\u7684Python\u6a21\u5757\uff0c\u7528\u4e8e\u7f16\u5199\u89c6\u9891\u6e38\u620f\uff0c\u8fd8\u53ef\u4ee5\u7528\u6765\u7ed8\u56fe\u3002\u9996\u5148\u9700\u8981\u5b89\u88c5Pygame\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install pygame<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7136\u540e\u5bfc\u5165Pygame\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pygame<\/p>\n<p>import sys<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u521d\u59cb\u5316Pygame<\/h4>\n<\/p>\n<p><p>\u5728\u4f7f\u7528Pygame\u7ed8\u56fe\u4e4b\u524d\uff0c\u9700\u8981\u521d\u59cb\u5316Pygame\uff0c\u5e76\u8bbe\u7f6e\u7a97\u53e3\u7684\u5927\u5c0f\u548c\u6807\u9898\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">pygame.init()<\/p>\n<h2><strong>\u8bbe\u7f6e\u7a97\u53e3\u5927\u5c0f\u548c\u6807\u9898<\/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(&quot;Draw Circle with Pygame&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3\u3001\u8bbe\u7f6e\u989c\u8272\u548c\u753b\u7b14<\/h4>\n<\/p>\n<p><p>\u5b9a\u4e49\u4e00\u4e9b\u5e38\u7528\u7684\u989c\u8272\u548c\u753b\u7b14\u5c5e\u6027\uff0c\u4f8b\u5982\u80cc\u666f\u989c\u8272\u3001\u5706\u7684\u989c\u8272\u7b49\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u5b9a\u4e49\u989c\u8272<\/p>\n<p>white = (255, 255, 255)<\/p>\n<p>black = (0, 0, 0)<\/p>\n<h2><strong>\u8bbe\u7f6e\u80cc\u666f\u989c\u8272<\/strong><\/h2>\n<p>screen.fill(white)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>4\u3001\u753b\u5706<\/h4>\n<\/p>\n<p><p>Pygame\u4e2d\u753b\u5706\u53ef\u4ee5\u4f7f\u7528<code>pygame.draw.circle(surface, color, center, radius, width=0)<\/code>\u65b9\u6cd5\uff0c\u5176\u4e2d<code>surface<\/code>\u4e3a\u7ed8\u56fe\u8868\u9762\uff0c<code>color<\/code>\u4e3a\u989c\u8272\uff0c<code>center<\/code>\u4e3a\u5706\u5fc3\u5750\u6807\uff0c<code>radius<\/code>\u4e3a\u534a\u5f84\uff0c<code>width<\/code>\u4e3a\u7ebf\u6761\u5bbd\u5ea6\uff0c\u9ed8\u8ba4\u4e3a0\u8868\u793a\u586b\u5145\u5706\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u753b\u4e00\u4e2a\u9ed1\u8272\u7684\u5706\uff0c\u5706\u5fc3\u5728(400, 300)\uff0c\u534a\u5f84\u4e3a50<\/p>\n<p>pygame.draw.circle(screen, black, (400, 300), 50)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>5\u3001\u5237\u65b0\u663e\u793a<\/h4>\n<\/p>\n<p><p>Pygame\u9700\u8981\u5728\u6bcf\u6b21\u7ed8\u56fe\u540e\u5237\u65b0\u663e\u793a\uff0c\u4ee5\u4fbf\u66f4\u65b0\u7a97\u53e3\u5185\u5bb9\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u5237\u65b0\u663e\u793a<\/p>\n<p>pygame.display.flip()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>6\u3001\u4e8b\u4ef6\u5faa\u73af<\/h4>\n<\/p>\n<p><p>Pygame\u7a0b\u5e8f\u901a\u5e38\u9700\u8981\u4e00\u4e2a\u4e8b\u4ef6\u5faa\u73af\u6765\u4fdd\u6301\u7a97\u53e3\u6253\u5f00\uff0c\u5e76\u5904\u7406\u7528\u6237\u7684\u8f93\u5165\u4e8b\u4ef6\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u4e8b\u4ef6\u5faa\u73af<\/p>\n<p>running = True<\/p>\n<p>while running:<\/p>\n<p>    for event in pygame.event.get():<\/p>\n<p>        if event.type == pygame.QUIT:<\/p>\n<p>            running = False<\/p>\n<h2><strong>\u9000\u51faPygame<\/strong><\/h2>\n<p>pygame.quit()<\/p>\n<p>sys.exit()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001matplotlib\u5e93\u753b\u5706<\/h3>\n<\/p>\n<p><h4>1\u3001\u5b89\u88c5\u4e0e\u5bfc\u5165matplotlib\u5e93<\/h4>\n<\/p>\n<p><p>Matplotlib\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u7ed8\u56fe\u5e93\uff0c\u53ef\u4ee5\u7528\u6765\u521b\u5efa\u5404\u79cd\u56fe\u8868\u548c\u56fe\u5f62\u3002\u9996\u5148\u9700\u8981\u5b89\u88c5matplotlib\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install matplotlib<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7136\u540e\u5bfc\u5165matplotlib\u5e93\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<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u8bbe\u7f6e\u56fe\u5f62\u5c5e\u6027<\/h4>\n<\/p>\n<p><p>\u5728\u7ed8\u56fe\u4e4b\u524d\uff0c\u53ef\u4ee5\u8bbe\u7f6e\u4e00\u4e9b\u56fe\u5f62\u5c5e\u6027\uff0c\u4f8b\u5982\u56fe\u5f62\u7684\u5927\u5c0f\u3001\u80cc\u666f\u989c\u8272\u7b49\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u8bbe\u7f6e\u56fe\u5f62\u5927\u5c0f<\/p>\n<p>fig, ax = plt.subplots(figsize=(6, 6))<\/p>\n<p>ax.set_aspect(&#39;equal&#39;)<\/p>\n<h2><strong>\u8bbe\u7f6e\u80cc\u666f\u989c\u8272<\/strong><\/h2>\n<p>fig.patch.set_facecolor(&#39;white&#39;)<\/p>\n<p>ax.set_facecolor(&#39;white&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3\u3001\u753b\u5706<\/h4>\n<\/p>\n<p><p>Matplotlib\u4e2d\u753b\u5706\u53ef\u4ee5\u4f7f\u7528<code>plt.Circle((x, y), radius, &lt;strong&gt;kwargs)<\/code>\u65b9\u6cd5\uff0c\u5176\u4e2d<code>(x, y)<\/code>\u4e3a\u5706\u5fc3\u5750\u6807\uff0c<code>radius<\/code>\u4e3a\u534a\u5f84\uff0c<code>&lt;\/strong&gt;kwargs<\/code>\u4e3a\u5176\u4ed6\u53c2\u6570\uff0c\u4f8b\u5982\u989c\u8272\u3001\u7ebf\u6761\u5bbd\u5ea6\u7b49\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u753b\u4e00\u4e2a\u5706\uff0c\u5706\u5fc3\u5728(0.5, 0.5)\uff0c\u534a\u5f84\u4e3a0.3<\/p>\n<p>circle = plt.Circle((0.5, 0.5), 0.3, edgecolor=&#39;black&#39;, facecolor=&#39;none&#39;, linewidth=2)<\/p>\n<p>ax.add_patch(circle)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>4\u3001\u663e\u793a\u56fe\u5f62<\/h4>\n<\/p>\n<p><p>\u7ed8\u56fe\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528<code>plt.show()<\/code>\u6765\u663e\u793a\u56fe\u5f62\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u663e\u793a\u56fe\u5f62<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u4e09\u79cd\u65b9\u6cd5\uff0c\u53ef\u4ee5\u5728Python\u7a97\u53e3\u4e2d\u753b\u5706\uff0c\u5177\u4f53\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\u53ef\u4ee5\u6839\u636e\u5b9e\u9645\u9700\u6c42\u548c\u4e2a\u4eba\u504f\u597d\u6765\u51b3\u5b9a\u3002<strong>Turtle\u5e93<\/strong>\u9002\u5408\u7b80\u5355\u7684\u7ed8\u56fe\u4efb\u52a1\uff0c<strong>Pygame\u5e93<\/strong>\u9002\u5408\u6e38\u620f\u5f00\u53d1\u548c\u4ea4\u4e92\u5f0f\u7ed8\u56fe\uff0c<strong>matplotlib\u5e93<\/strong>\u9002\u5408\u79d1\u5b66\u8ba1\u7b97\u548c\u6570\u636e\u53ef\u89c6\u5316\u3002\u5e0c\u671b\u8fd9\u4e9b\u65b9\u6cd5\u80fd\u591f\u5e2e\u52a9\u4f60\u5728Python\u7a97\u53e3\u4e2d\u753b\u5706\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u4f7f\u7528\u56fe\u5f62\u5e93\u7ed8\u5236\u5706\u5f62\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u4e2a\u56fe\u5f62\u5e93\u6765\u7ed8\u5236\u5706\u5f62\u3002\u5e38\u7528\u7684\u5e93\u5305\u62ecMatplotlib\u548cPygame\u3002\u4f7f\u7528Matplotlib\uff0c\u53ef\u4ee5\u901a\u8fc7<code>plt.Circle()<\/code>\u65b9\u6cd5\u521b\u5efa\u5706\u5f62\uff0c\u5e76\u4f7f\u7528<code>add_artist()<\/code>\u5c06\u5176\u6dfb\u52a0\u5230\u56fe\u5f62\u4e2d\u3002\u4f7f\u7528Pygame\u5219\u9700\u8981\u4f7f\u7528<code>pygame.draw.circle()<\/code>\u51fd\u6570\uff0c\u6307\u5b9a\u753b\u5e03\u548c\u5706\u7684\u53c2\u6570\u6765\u7ed8\u5236\u3002<\/p>\n<p><strong>\u9700\u8981\u5b89\u88c5\u54ea\u4e9bPython\u5e93\u624d\u80fd\u7ed8\u5236\u5706\uff1f<\/strong><br \/>\u4e3a\u4e86\u5728Python\u4e2d\u7ed8\u5236\u5706\u5f62\uff0c\u60a8\u9700\u8981\u5b89\u88c5\u76f8\u5e94\u7684\u56fe\u5f62\u5e93\u3002\u5bf9\u4e8eMatplotlib\uff0c\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4<code>pip install matplotlib<\/code>\u8fdb\u884c\u5b89\u88c5\u3002\u82e5\u4f7f\u7528Pygame\uff0c\u5219\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4<code>pip install pygame<\/code>\u8fdb\u884c\u5b89\u88c5\u3002\u8fd9\u4e9b\u5e93\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u7ed8\u56fe\u529f\u80fd\uff0c\u80fd\u591f\u6ee1\u8db3\u57fa\u672c\u7684\u7ed8\u56fe\u9700\u6c42\u3002<\/p>\n<p><strong>\u5982\u4f55\u81ea\u5b9a\u4e49\u5706\u7684\u989c\u8272\u548c\u586b\u5145\u6548\u679c\uff1f<\/strong><br \/>\u5728\u4f7f\u7528Matplotlib\u7ed8\u5236\u5706\u5f62\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e<code>color<\/code>\u548c<code>alpha<\/code>\u53c2\u6570\u6765\u8c03\u6574\u5706\u7684\u989c\u8272\u548c\u900f\u660e\u5ea6\u3002\u5728Pygame\u4e2d\uff0c<code>pygame.draw.circle()<\/code>\u51fd\u6570\u4e2d\u7684<code>color<\/code>\u53c2\u6570\u53ef\u4ee5\u8bbe\u7f6e\u5706\u7684\u989c\u8272\uff0c\u800c<code>width<\/code>\u53c2\u6570\u5219\u53ef\u4ee5\u63a7\u5236\u586b\u5145\u6548\u679c\uff0c\u8bbe\u4e3a0\u65f6\u8868\u793a\u586b\u5145\u6574\u4e2a\u5706\uff0c\u8bbe\u4e3a\u6b63\u503c\u65f6\u5219\u7ed8\u5236\u5706\u7684\u8fb9\u6846\u3002\u901a\u8fc7\u8fd9\u4e9b\u53c2\u6570\uff0c\u60a8\u53ef\u4ee5\u5b9e\u73b0\u591a\u79cd\u89c6\u89c9\u6548\u679c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u7a97\u53e3\u4e2d\u753b\u5706\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u65b9\u6cd5\u548c\u5e93\uff0c\u5982Turtle\u3001Pygame\u3001matplotlib\u3002\u5176\u4e2d\uff0c\u4f7f\u7528 [&hellip;]","protected":false},"author":3,"featured_media":1186368,"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\/1186360"}],"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=1186360"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1186360\/revisions"}],"predecessor-version":[{"id":1186371,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1186360\/revisions\/1186371"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1186368"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1186360"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1186360"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1186360"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}