{"id":1000205,"date":"2024-12-27T09:48:01","date_gmt":"2024-12-27T01:48:01","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1000205.html"},"modified":"2024-12-27T09:48:04","modified_gmt":"2024-12-27T01:48:04","slug":"%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8python%e5%88%b6%e4%bd%9c%e5%bc%b9%e7%aa%97","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1000205.html","title":{"rendered":"\u5982\u4f55\u4f7f\u7528python\u5236\u4f5c\u5f39\u7a97"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25074904\/b794d831-daf3-468d-8545-177ac0317d67.webp\" alt=\"\u5982\u4f55\u4f7f\u7528python\u5236\u4f5c\u5f39\u7a97\" \/><\/p>\n<p><p> <strong>\u4f7f\u7528Python\u5236\u4f5c\u5f39\u7a97\u7684\u57fa\u672c\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528Tkinter\u5e93\u3001PyQt\u5e93\u548cwxPython\u5e93\u3002<\/strong> \u8fd9\u4e09\u79cd\u65b9\u6cd5\u5404\u5177\u7279\u8272\uff0c\u5176\u4e2dTkinter\u662fPython\u7684\u6807\u51c6GUI\u5e93\uff0c\u7b80\u5355\u6613\u7528\uff1bPyQt\u63d0\u4f9b\u4e86\u66f4\u4e30\u5bcc\u7684\u63a7\u4ef6\u548c\u66f4\u5f3a\u5927\u7684\u529f\u80fd\uff1bwxPython\u5219\u5728\u8de8\u5e73\u53f0\u7684\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u4e2d\u8868\u73b0\u51fa\u8272\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Tkinter\u5e93\u6765\u5236\u4f5c\u4e00\u4e2a\u7b80\u5355\u7684\u5f39\u7a97\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001TKINTER\u521b\u5efa\u7b80\u5355\u5f39\u7a97<\/h3>\n<\/p>\n<p><p>Tkinter\u662fPython\u7684\u6807\u51c6GUI\u5e93\uff0c\u9002\u5408\u4e8e\u9700\u8981\u5feb\u901f\u5b9e\u73b0\u7b80\u5355GUI\u5e94\u7528\u7684\u5f00\u53d1\u8005\u3002<\/p>\n<\/p>\n<p><h4>1. \u5b89\u88c5\u548c\u5bfc\u5165Tkinter<\/h4>\n<\/p>\n<p><p>Tkinter\u901a\u5e38\u968fPython\u4e00\u8d77\u5b89\u88c5\uff0c\u65e0\u9700\u989d\u5916\u5b89\u88c5\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u5bfc\u5165\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import tkinter as tk<\/p>\n<p>from tkinter import messagebox<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u521b\u5efa\u57fa\u672c\u5f39\u7a97<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528Tkinter\uff0c\u53ef\u4ee5\u901a\u8fc7<code>messagebox<\/code>\u6a21\u5757\u6765\u521b\u5efa\u57fa\u672c\u7684\u5f39\u7a97\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def show_popup():<\/p>\n<p>    messagebox.showinfo(&quot;\u4fe1\u606f&quot;, &quot;\u8fd9\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u5f39\u7a97&quot;)<\/p>\n<p>root = tk.Tk()<\/p>\n<p>root.withdraw()  # \u9690\u85cf\u4e3b\u7a97\u53e3<\/p>\n<p>show_popup()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3. \u81ea\u5b9a\u4e49\u5f39\u7a97<\/h4>\n<\/p>\n<p><p>Tkinter\u5141\u8bb8\u81ea\u5b9a\u4e49\u5f39\u7a97\u7684\u5916\u89c2\u548c\u529f\u80fd\uff0c\u6bd4\u5982\u589e\u52a0\u6309\u94ae\u3001\u4fee\u6539\u5f39\u7a97\u5927\u5c0f\u548c\u4f4d\u7f6e\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def custom_popup():<\/p>\n<p>    popup = tk.Toplevel()<\/p>\n<p>    popup.title(&quot;\u81ea\u5b9a\u4e49\u5f39\u7a97&quot;)<\/p>\n<p>    popup.geometry(&quot;300x150&quot;)<\/p>\n<p>    label = tk.Label(popup, text=&quot;\u8fd9\u662f\u4e00\u4e2a\u81ea\u5b9a\u4e49\u5f39\u7a97&quot;)<\/p>\n<p>    label.pack(pady=20)<\/p>\n<p>    button = tk.Button(popup, text=&quot;\u5173\u95ed&quot;, command=popup.destroy)<\/p>\n<p>    button.pack(pady=10)<\/p>\n<p>root = tk.Tk()<\/p>\n<p>root.withdraw()  # \u9690\u85cf\u4e3b\u7a97\u53e3<\/p>\n<p>custom_popup()<\/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><h3>\u4e8c\u3001PYQT\u5b9e\u73b0\u9ad8\u7ea7\u5f39\u7a97<\/h3>\n<\/p>\n<p><p>PyQt\u662f\u4e00\u4e2a\u529f\u80fd\u5f3a\u5927\u7684GUI\u5e93\uff0c\u9002\u5408\u9700\u8981\u590d\u6742\u754c\u9762\u548c\u529f\u80fd\u7684\u5e94\u7528\u3002<\/p>\n<\/p>\n<p><h4>1. \u5b89\u88c5\u548c\u5bfc\u5165PyQt<\/h4>\n<\/p>\n<p><p>\u9996\u5148\u9700\u8981\u5b89\u88c5PyQt\u5e93\uff0c\u53ef\u4ee5\u4f7f\u7528pip\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install PyQt5<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7136\u540e\u5bfc\u5165\u5fc5\u8981\u7684\u6a21\u5757\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from PyQt5.QtWidgets import QApplication, QMessageBox<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u521b\u5efa\u57fa\u672c\u5f39\u7a97<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528PyQt\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684\u5f39\u7a97\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import sys<\/p>\n<p>from PyQt5.QtWidgets import QApplication, QMessageBox<\/p>\n<p>app = QApplication(sys.argv)<\/p>\n<p>def show_popup():<\/p>\n<p>    msg = QMessageBox()<\/p>\n<p>    msg.setIcon(QMessageBox.Information)<\/p>\n<p>    msg.setText(&quot;\u8fd9\u662f\u4e00\u4e2a\u7b80\u5355\u7684PyQt\u5f39\u7a97&quot;)<\/p>\n<p>    msg.setWindowTitle(&quot;\u4fe1\u606f&quot;)<\/p>\n<p>    msg.setStandardButtons(QMessageBox.Ok)<\/p>\n<p>    msg.exec_()<\/p>\n<p>show_popup()<\/p>\n<p>sys.exit(app.exec_())<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3. \u81ea\u5b9a\u4e49\u9ad8\u7ea7\u5f39\u7a97<\/h4>\n<\/p>\n<p><p>PyQt\u5141\u8bb8\u66f4\u590d\u6742\u7684\u5f39\u7a97\u8bbe\u8ba1\uff0c\u5982\u6dfb\u52a0\u66f4\u591a\u6309\u94ae\u548c\u529f\u80fd\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from PyQt5.QtWidgets import QApplication, QMessageBox<\/p>\n<p>app = QApplication([])<\/p>\n<p>def custom_popup():<\/p>\n<p>    msg = QMessageBox()<\/p>\n<p>    msg.setIcon(QMessageBox.Question)<\/p>\n<p>    msg.setText(&quot;\u8fd9\u662f\u4e00\u4e2a\u9ad8\u7ea7\u5f39\u7a97&quot;)<\/p>\n<p>    msg.setInformativeText(&quot;\u4f60\u60f3\u4fdd\u5b58\u66f4\u6539\u5417\uff1f&quot;)<\/p>\n<p>    msg.setWindowTitle(&quot;\u786e\u8ba4&quot;)<\/p>\n<p>    msg.setStandardButtons(QMessageBox.Save | QMessageBox.Discard | QMessageBox.Cancel)<\/p>\n<p>    retval = msg.exec_()<\/p>\n<p>    print(&quot;\u8fd4\u56de\u503c:&quot;, retval)<\/p>\n<p>custom_popup()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001WXPYTHON\u5f00\u53d1\u8de8\u5e73\u53f0\u5f39\u7a97<\/h3>\n<\/p>\n<p><p>wxPython\u662f\u53e6\u4e00\u4e2a\u5f3a\u5927\u7684GUI\u5e93\uff0c\u9002\u5408\u8de8\u5e73\u53f0\u5e94\u7528\u5f00\u53d1\u3002<\/p>\n<\/p>\n<p><h4>1. \u5b89\u88c5\u548c\u5bfc\u5165wxPython<\/h4>\n<\/p>\n<p><p>\u9996\u5148\u9700\u8981\u5b89\u88c5wxPython\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install wxPython<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7136\u540e\u5bfc\u5165\u5fc5\u8981\u7684\u6a21\u5757\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import wx<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u521b\u5efa\u57fa\u672c\u5f39\u7a97<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528wxPython\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684\u5f39\u7a97\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import wx<\/p>\n<p>app = wx.App(False)<\/p>\n<p>def show_popup():<\/p>\n<p>    wx.MessageBox(&#39;\u8fd9\u662f\u4e00\u4e2a\u7b80\u5355\u7684wxPython\u5f39\u7a97&#39;, &#39;\u4fe1\u606f&#39;, wx.OK | wx.ICON_INFORMATION)<\/p>\n<p>show_popup()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3. \u81ea\u5b9a\u4e49\u5f39\u7a97<\/h4>\n<\/p>\n<p><p>wxPython\u4e5f\u5141\u8bb8\u81ea\u5b9a\u4e49\u5f39\u7a97\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import wx<\/p>\n<p>class MyFrame(wx.Frame):<\/p>\n<p>    def __init__(self, *args, kw):<\/p>\n<p>        super(MyFrame, self).__init__(*args, kw)<\/p>\n<p>        panel = wx.Panel(self)<\/p>\n<p>        sizer = wx.BoxSizer(wx.VERTICAL)<\/p>\n<p>        btn = wx.Button(panel, label=&quot;\u6253\u5f00\u5f39\u7a97&quot;)<\/p>\n<p>        btn.Bind(wx.EVT_BUTTON, self.on_popup)<\/p>\n<p>        sizer.Add(btn, 0, wx.ALL, 5)<\/p>\n<p>        panel.SetSizer(sizer)<\/p>\n<p>    def on_popup(self, event):<\/p>\n<p>        dialog = wx.MessageDialog(self, &quot;\u8fd9\u662f\u4e00\u4e2a\u81ea\u5b9a\u4e49\u5f39\u7a97&quot;, &quot;\u4fe1\u606f&quot;, wx.OK | wx.CANCEL | wx.ICON_INFORMATION)<\/p>\n<p>        dialog.ShowModal()<\/p>\n<p>        dialog.Destroy()<\/p>\n<p>app = wx.App(False)<\/p>\n<p>frame = MyFrame(None, title=&quot;wxPython\u5f39\u7a97\u793a\u4f8b&quot;)<\/p>\n<p>frame.Show()<\/p>\n<p>app.MainLoop()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u9009\u62e9\u5408\u9002\u7684\u5e93<\/h3>\n<\/p>\n<p><p>\u9009\u62e9\u5408\u9002\u7684\u5e93\u53d6\u51b3\u4e8e\u9879\u76ee\u9700\u6c42\uff1a<\/p>\n<\/p>\n<ul>\n<li><strong>Tkinter<\/strong>\uff1a\u9002\u5408\u5feb\u901f\u5f00\u53d1\u7b80\u5355\u5e94\u7528\uff0c\u65e0\u9700\u5b89\u88c5\u3002<\/li>\n<li><strong>PyQt<\/strong>\uff1a\u9002\u5408\u590d\u6742\u5e94\u7528\uff0c\u63d0\u4f9b\u4e30\u5bcc\u7684\u7ec4\u4ef6\u548c\u5f3a\u5927\u7684\u529f\u80fd\u3002<\/li>\n<li><strong>wxPython<\/strong>\uff1a\u9002\u5408\u8de8\u5e73\u53f0\u5e94\u7528\uff0c\u754c\u9762\u4e0e\u539f\u751f\u5e94\u7528\u4e00\u81f4\u3002<\/li>\n<\/ul>\n<p><h3>\u4e94\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\u521b\u5efa\u5f39\u7a97\u7684\u65b9\u5f0f\u591a\u79cd\u591a\u6837\uff0c\u6839\u636e\u9879\u76ee\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684GUI\u5e93\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u5feb\u901f\u5b9e\u73b0\u5e94\u7528\u7684\u56fe\u5f62\u754c\u9762\u529f\u80fd\u3002\u65e0\u8bba\u662f\u7b80\u5355\u7684\u901a\u77e5\u5f39\u7a97\u8fd8\u662f\u590d\u6742\u7684\u7528\u6237\u4ea4\u4e92\u5f39\u7a97\uff0cPython\u90fd\u80fd\u63d0\u4f9b\u7075\u6d3b\u7684\u89e3\u51b3\u65b9\u6848\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\u5f39\u7a97\uff1f<\/strong><br \/>\u8981\u5728Python\u4e2d\u521b\u5efa\u5f39\u7a97\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528tkinter\u5e93\uff0c\u8fd9\u662fPython\u5185\u7f6e\u7684GUI\u5de5\u5177\u5305\u3002\u9996\u5148\uff0c\u60a8\u9700\u8981\u5bfc\u5165tkinter\u5e93\uff0c\u7136\u540e\u521b\u5efa\u4e00\u4e2a\u9876\u5c42\u7a97\u53e3\uff0c\u8bbe\u7f6e\u7a97\u53e3\u7684\u6807\u9898\u548c\u5927\u5c0f\uff0c\u6700\u540e\u4f7f\u7528<code>messagebox<\/code>\u6a21\u5757\u6765\u663e\u793a\u5f39\u7a97\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<pre><code class=\"language-python\">import tkinter as tk\nfrom tkinter import messagebox\n\ndef show_popup():\n    messagebox.showinfo(&quot;\u6807\u9898&quot;, &quot;\u8fd9\u662f\u4e00\u4e2a\u5f39\u7a97\u793a\u4f8b!&quot;)\n\nroot = tk.Tk()\nroot.title(&quot;\u5f39\u7a97\u793a\u4f8b&quot;)\nroot.geometry(&quot;300x200&quot;)\n\nbtn = tk.Button(root, text=&quot;\u70b9\u51fb\u6211&quot;, command=show_popup)\nbtn.pack(pady=20)\n\nroot.mainloop()\n<\/code><\/pre>\n<p><strong>\u53ef\u4ee5\u7528\u54ea\u4e9b\u5e93\u6765\u5236\u4f5c\u5f39\u7a97\uff1f<\/strong><br \/>\u9664\u4e86tkinter\uff0cPython\u8fd8\u6709\u5176\u4ed6\u4e00\u4e9b\u5e93\u53ef\u4ee5\u7528\u6765\u5236\u4f5c\u5f39\u7a97\u3002\u4f8b\u5982\uff0cPyQt\u548cwxPython\u90fd\u662f\u6d41\u884c\u7684GUI\u6846\u67b6\uff0c\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u529f\u80fd\u548c\u7ec4\u4ef6\u3002PyQt\u9002\u5408\u5f00\u53d1\u590d\u6742\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u800cwxPython\u5219\u66f4\u9002\u5408\u9700\u8981\u672c\u5730\u5316\u5916\u89c2\u548c\u611f\u89c9\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u6b64\u5916\uff0cKivy\u4e5f\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\uff0c\u5c24\u5176\u9002\u7528\u4e8e\u79fb\u52a8\u8bbe\u5907\u548c\u591a\u70b9\u89e6\u63a7\u5e94\u7528\u3002<\/p>\n<p><strong>\u5982\u4f55\u81ea\u5b9a\u4e49\u5f39\u7a97\u7684\u6837\u5f0f\u548c\u5185\u5bb9\uff1f<\/strong><br \/>\u5728\u4f7f\u7528tkinter\u65f6\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u4fee\u6539<code>messagebox<\/code>\u51fd\u6570\u7684\u53c2\u6570\u6765\u81ea\u5b9a\u4e49\u5f39\u7a97\u7684\u6837\u5f0f\u548c\u5185\u5bb9\u3002\u4f8b\u5982\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528<code>messagebox.showwarning()<\/code>\u6765\u663e\u793a\u8b66\u544a\u4fe1\u606f\uff0c\u6216\u4f7f\u7528<code>messagebox.showerror()<\/code>\u6765\u663e\u793a\u9519\u8bef\u4fe1\u606f\u3002\u60a8\u8fd8\u53ef\u4ee5\u5728\u521b\u5efa\u5f39\u7a97\u65f6\u8c03\u6574\u5b57\u4f53\u3001\u989c\u8272\u548c\u6309\u94ae\u6587\u672c\uff0c\u4ee5\u4f7f\u5176\u66f4\u7b26\u5408\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u98ce\u683c\u3002<\/p>\n<p><strong>\u5f39\u7a97\u5728\u7528\u6237\u754c\u9762\u4e2d\u7684\u91cd\u8981\u6027\u662f\u4ec0\u4e48\uff1f<\/strong><br \/>\u5f39\u7a97\u5728\u7528\u6237\u754c\u9762\u4e2d\u8d77\u5230\u63d0\u793a\u548c\u8b66\u544a\u7684\u4f5c\u7528\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u5f15\u5bfc\u7528\u6237\u8fdb\u884c\u64cd\u4f5c\u6216\u63d0\u9192\u4ed6\u4eec\u6ce8\u610f\u91cd\u8981\u4fe1\u606f\u3002\u5408\u9002\u7684\u5f39\u7a97\u8bbe\u8ba1\u80fd\u591f\u63d0\u5347\u7528\u6237\u4f53\u9a8c\uff0c\u5e2e\u52a9\u7528\u6237\u5feb\u901f\u7406\u89e3\u7cfb\u7edf\u72b6\u6001\u6216\u64cd\u4f5c\u7ed3\u679c\u3002\u5728\u5e94\u7528\u7a0b\u5e8f\u4e2d\u5408\u7406\u4f7f\u7528\u5f39\u7a97\u53ef\u4ee5\u589e\u5f3a\u4ea4\u4e92\u6027\u548c\u53ef\u7528\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u4f7f\u7528Python\u5236\u4f5c\u5f39\u7a97\u7684\u57fa\u672c\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528Tkinter\u5e93\u3001PyQt\u5e93\u548cwxPython\u5e93\u3002 \u8fd9\u4e09\u79cd\u65b9\u6cd5\u5404\u5177\u7279 [&hellip;]","protected":false},"author":3,"featured_media":1000214,"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\/1000205"}],"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=1000205"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1000205\/revisions"}],"predecessor-version":[{"id":1000216,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1000205\/revisions\/1000216"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1000214"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1000205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1000205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1000205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}