{"id":1010267,"date":"2024-12-27T11:19:26","date_gmt":"2024-12-27T03:19:26","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1010267.html"},"modified":"2024-12-27T11:19:29","modified_gmt":"2024-12-27T03:19:29","slug":"%e5%a6%82%e4%bd%95%e4%bd%bfpython%e5%ad%97%e4%bd%93%e5%8f%98%e5%a4%a7","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1010267.html","title":{"rendered":"\u5982\u4f55\u4f7fpython\u5b57\u4f53\u53d8\u5927"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25084858\/4f95ed1e-4054-4964-8859-15534b845319.webp\" alt=\"\u5982\u4f55\u4f7fpython\u5b57\u4f53\u53d8\u5927\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u4f7f\u5b57\u4f53\u53d8\u5927\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff0c\u5305\u62ec\u5728\u56fe\u5f62\u7528\u6237\u754c\u9762\uff08GUI\uff09\u5e93\u4e2d\u8bbe\u7f6e\u5b57\u4f53\u5927\u5c0f\u3001\u8c03\u6574\u6587\u672c\u7f16\u8f91\u5668\u4e2d\u7684\u5b57\u4f53\u8bbe\u7f6e\u3001\u4f7f\u7528\u7ed8\u56fe\u5e93\u66f4\u6539\u5b57\u4f53\u5927\u5c0f\u7b49\u3002\u4ee5\u4e0b\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5728\u4e0d\u540c\u73af\u5883\u4e0b\u8c03\u6574\u5b57\u4f53\u7684\u65b9\u6cd5\uff1a<\/strong><\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4f7f\u7528Tkinter\u5e93\u8c03\u6574\u5b57\u4f53\u5927\u5c0f<\/p>\n<\/p>\n<p><p>Tkinter\u662fPython\u7684\u6807\u51c6GUI\u5e93\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e00\u79cd\u7b80\u5355\u7684\u65b9\u6cd5\u6765\u521b\u5efa\u7a97\u53e3\u548c\u5c0f\u90e8\u4ef6\uff0c\u5e76\u5141\u8bb8\u81ea\u5b9a\u4e49\u5b57\u4f53\u5927\u5c0f\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u57fa\u672c\u8bbe\u7f6e\u4e0e\u5e94\u7528<\/strong><\/li>\n<\/ol>\n<p><p>\u8981\u5728Tkinter\u4e2d\u66f4\u6539\u5b57\u4f53\u5927\u5c0f\uff0c\u53ef\u4ee5\u4f7f\u7528<code>font<\/code>\u5c5e\u6027\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\uff0c\u5c55\u793a\u5982\u4f55\u5728Tkinter\u7a97\u53e3\u4e2d\u8bbe\u7f6e\u6807\u7b7e\u7684\u5b57\u4f53\u5927\u5c0f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import tkinter as tk<\/p>\n<p>from tkinter import font<\/p>\n<p>root = tk.Tk()<\/p>\n<h2><strong>\u8bbe\u7f6e\u5b57\u4f53\u5927\u5c0f<\/strong><\/h2>\n<p>my_font = font.Font(family=&#39;Helvetica&#39;, size=16, weight=&#39;bold&#39;)<\/p>\n<p>label = tk.Label(root, text=&quot;Hello, World!&quot;, font=my_font)<\/p>\n<p>label.pack()<\/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\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528\u4e86<code>font.Font<\/code>\u7c7b\u6765\u5b9a\u4e49\u5b57\u4f53\u7684\u6837\u5f0f\u548c\u5927\u5c0f\uff0c\u7136\u540e\u5c06\u5176\u5e94\u7528\u4e8e\u6807\u7b7e\u63a7\u4ef6\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u52a8\u6001\u8c03\u6574\u5b57\u4f53\u5927\u5c0f<\/strong><\/li>\n<\/ol>\n<p><p>\u6709\u65f6\u5019\uff0c\u6211\u4eec\u9700\u8981\u6839\u636e\u7a97\u53e3\u5927\u5c0f\u6216\u5176\u4ed6\u6761\u4ef6\u52a8\u6001\u8c03\u6574\u5b57\u4f53\u5927\u5c0f\uff0c\u8fd9\u53ef\u4ee5\u901a\u8fc7\u7ed1\u5b9a\u4e8b\u4ef6\u6765\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def resize_font(event):<\/p>\n<p>    new_size = event.width \/\/ 20  # \u6839\u636e\u7a97\u53e3\u5bbd\u5ea6\u52a8\u6001\u8ba1\u7b97\u5b57\u4f53\u5927\u5c0f<\/p>\n<p>    my_font.configure(size=new_size)<\/p>\n<p>root.bind(&#39;&lt;Configure&gt;&#39;, resize_font)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u53ef\u4ee5\u4f7f\u4f60\u7684GUI\u5e94\u7528\u7a0b\u5e8f\u66f4\u52a0\u7075\u6d3b\uff0c\u9002\u5e94\u4e0d\u540c\u7684\u7a97\u53e3\u5c3a\u5bf8\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u5728\u6587\u672c\u7f16\u8f91\u5668\u4e2d\u8c03\u6574\u5b57\u4f53\u5927\u5c0f<\/p>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u662f\u5728\u6587\u672c\u7f16\u8f91\u5668\u6216IDE\uff08\u4f8b\u5982PyCharm\u3001VSCode\uff09\u4e2d\u7f16\u5199Python\u4ee3\u7801\uff0c\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u7f16\u8f91\u5668\u7684\u5b57\u4f53\u5927\u5c0f\u6765\u6539\u53d8\u663e\u793a\u6548\u679c\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u5728PyCharm\u4e2d\u8bbe\u7f6e<\/strong><\/li>\n<\/ol>\n<ul>\n<li>\u6253\u5f00PyCharm\uff0c\u8fdb\u5165<code>File<\/code> -&gt; <code>Settings<\/code>\uff08\u5728macOS\u4e0a\u662f<code>PyCharm<\/code> -&gt; <code>Preferences<\/code>\uff09\u3002<\/li>\n<li>\u5bfc\u822a\u5230<code>Editor<\/code> -&gt; <code>Font<\/code>\u3002<\/li>\n<li>\u5728\u8fd9\u91cc\uff0c\u4f60\u53ef\u4ee5\u9009\u62e9\u5b57\u4f53\u5e76\u8c03\u6574\u5176\u5927\u5c0f\u3002<\/li>\n<\/ul>\n<ol start=\"2\">\n<li><strong>\u5728VSCode\u4e2d\u8bbe\u7f6e<\/strong><\/li>\n<\/ol>\n<ul>\n<li>\u6253\u5f00VSCode\uff0c\u8fdb\u5165<code>File<\/code> -&gt; <code>Preferences<\/code> -&gt; <code>Settings<\/code>\u3002<\/li>\n<li>\u641c\u7d22<code>editor.fontSize<\/code>\uff0c\u7136\u540e\u8bbe\u7f6e\u4f60\u60f3\u8981\u7684\u5b57\u4f53\u5927\u5c0f\u3002<\/li>\n<\/ul>\n<p><p>\u8fd9\u4e9b\u8bbe\u7f6e\u53ef\u4ee5\u5e2e\u52a9\u4f60\u5728\u7f16\u5199\u548c\u9605\u8bfb\u4ee3\u7801\u65f6\u83b7\u5f97\u66f4\u597d\u7684\u4f53\u9a8c\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u4f7f\u7528Matplotlib\u8c03\u6574\u5b57\u4f53\u5927\u5c0f<\/p>\n<\/p>\n<p><p>Matplotlib\u662f\u4e00\u4e2a\u5e7f\u6cdb\u4f7f\u7528\u7684\u7ed8\u56fe\u5e93\uff0c\u53ef\u4ee5\u7528\u4e8e\u751f\u6210\u5404\u79cd\u7c7b\u578b\u7684\u56fe\u8868\u3002\u5728\u751f\u6210\u56fe\u8868\u65f6\uff0c\u6211\u4eec\u53ef\u80fd\u9700\u8981\u8c03\u6574\u5b57\u4f53\u5927\u5c0f\u4ee5\u63d0\u9ad8\u53ef\u8bfb\u6027\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u8bbe\u7f6e\u5168\u5c40\u5b57\u4f53\u5927\u5c0f<\/strong><\/li>\n<\/ol>\n<p><p>\u53ef\u4ee5\u901a\u8fc7<code>rcParams<\/code>\u6765\u8bbe\u7f6e\u5168\u5c40\u5b57\u4f53\u5927\u5c0f\uff0c\u8fd9\u4f1a\u5f71\u54cd\u6240\u6709\u7684\u6587\u672c\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<p>plt.rcParams.update({&#39;font.size&#39;: 14})<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u9488\u5bf9\u7279\u5b9a\u56fe\u8868\u5143\u7d20\u8bbe\u7f6e\u5b57\u4f53\u5927\u5c0f<\/strong><\/li>\n<\/ol>\n<p><p>\u53ef\u4ee5\u4e3a\u6807\u9898\u3001\u6807\u7b7e\u3001\u56fe\u4f8b\u7b49\u5355\u72ec\u8bbe\u7f6e\u5b57\u4f53\u5927\u5c0f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">plt.title(&#39;Title&#39;, fontsize=20)<\/p>\n<p>plt.xlabel(&#39;X-axis&#39;, fontsize=14)<\/p>\n<p>plt.ylabel(&#39;Y-axis&#39;, fontsize=14)<\/p>\n<p>plt.legend(fontsize=12)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u7075\u6d3b\u7684\u8bbe\u7f6e\u65b9\u6cd5\u5141\u8bb8\u4f60\u6839\u636e\u9700\u8981\u8c03\u6574\u4e0d\u540c\u90e8\u5206\u7684\u5b57\u4f53\u5927\u5c0f\uff0c\u4f7f\u4f60\u7684\u56fe\u8868\u66f4\u52a0\u7f8e\u89c2\u548c\u4e13\u4e1a\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u4f7f\u7528Pygame\u8c03\u6574\u5b57\u4f53\u5927\u5c0f<\/p>\n<\/p>\n<p><p>Pygame\u662f\u4e00\u4e2a\u7528\u4e8e\u5f00\u53d1\u591a\u5a92\u4f53\u5e94\u7528\u7a0b\u5e8f\uff08\u5982\u89c6\u9891\u6e38\u620f\uff09\u7684\u5e93\u3002\u5b83\u4e5f\u63d0\u4f9b\u4e86\u5b57\u4f53\u5927\u5c0f\u8bbe\u7f6e\u7684\u529f\u80fd\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u521d\u59cb\u5316\u5b57\u4f53<\/strong><\/li>\n<\/ol>\n<p><p>\u8981\u5728Pygame\u4e2d\u4f7f\u7528\u81ea\u5b9a\u4e49\u5b57\u4f53\u5927\u5c0f\uff0c\u9996\u5148\u9700\u8981\u521d\u59cb\u5316\u5b57\u4f53\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pygame<\/p>\n<p>pygame.init()<\/p>\n<p>font = pygame.font.SysFont(&#39;Arial&#39;, 24)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u6e32\u67d3\u6587\u672c<\/strong><\/li>\n<\/ol>\n<p><p>\u4f7f\u7528\u5b57\u4f53\u5bf9\u8c61\u6e32\u67d3\u6587\u672c\uff0c\u5e76\u5c06\u5176\u7ed8\u5236\u5230\u5c4f\u5e55\u4e0a\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">text_surface = font.render(&#39;Hello, Pygame!&#39;, True, (255, 255, 255))<\/p>\n<p>screen.blit(text_surface, (50, 50))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5728Pygame\u5e94\u7528\u7a0b\u5e8f\u4e2d\u8f7b\u677e\u8c03\u6574\u6587\u672c\u7684\u5b57\u4f53\u5927\u5c0f\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u5728Jupyter Notebook\u4e2d\u8c03\u6574\u5b57\u4f53\u5927\u5c0f<\/p>\n<\/p>\n<p><p>Jupyter Notebook\u662f\u4e00\u79cd\u5e38\u7528\u7684\u4ea4\u4e92\u5f0f\u8ba1\u7b97\u73af\u5883\uff0c\u53ef\u4ee5\u901a\u8fc7\u8c03\u6574Markdown\u6216\u4ee3\u7801\u5355\u5143\u683c\u4e2d\u7684\u5b57\u4f53\u5927\u5c0f\u6765\u6539\u5584\u53ef\u8bfb\u6027\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u8c03\u6574Markdown\u5355\u5143\u683c\u5b57\u4f53\u5927\u5c0f<\/strong><\/li>\n<\/ol>\n<p><p>\u53ef\u4ee5\u4f7f\u7528HTML\u6807\u7b7e\u6216CSS\u6837\u5f0f\u5728Markdown\u5355\u5143\u683c\u4e2d\u8bbe\u7f6e\u5b57\u4f53\u5927\u5c0f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-markdown\">&lt;div style=&quot;font-size:20px;&quot;&gt;This is a larger text.&lt;\/div&gt;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u8c03\u6574\u4ee3\u7801\u5355\u5143\u683c\u5b57\u4f53\u5927\u5c0f<\/strong><\/li>\n<\/ol>\n<p><p>\u5bf9\u4e8e\u4ee3\u7801\u5355\u5143\u683c\uff0c\u901a\u5e38\u9700\u8981\u901a\u8fc7\u81ea\u5b9a\u4e49CSS\u6765\u8bbe\u7f6e\u3002<\/p>\n<\/p>\n<ul>\n<li>\u521b\u5efa\u6216\u7f16\u8f91<code>custom.css<\/code>\u6587\u4ef6\uff08\u8def\u5f84\u901a\u5e38\u4e3a<code>~\/.jupyter\/custom\/custom.css<\/code>\uff09\u3002<\/li>\n<li>\u6dfb\u52a0\u4ee5\u4e0bCSS\u6837\u5f0f\u6765\u8c03\u6574\u4ee3\u7801\u5355\u5143\u683c\u5b57\u4f53\u5927\u5c0f\u3002<\/li>\n<\/ul>\n<p><pre><code class=\"language-css\">.CodeMirror pre {<\/p>\n<p>    font-size: 14px;<\/p>\n<p>}<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4fdd\u5b58\u6587\u4ef6\u5e76\u91cd\u542fJupyter Notebook\uff0c\u8bbe\u7f6e\u5c06\u751f\u6548\u3002<\/p>\n<\/p>\n<p><p>\u516d\u3001\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u8c03\u6574\u5b57\u4f53\u5927\u5c0f\u7684\u65b9\u6cd5\u591a\u79cd\u591a\u6837\uff0c\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u7684\u5e94\u7528\u573a\u666f\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u3002\u65e0\u8bba\u662f\u5728GUI\u5e94\u7528\u7a0b\u5e8f\u3001\u6587\u672c\u7f16\u8f91\u5668\u3001\u7ed8\u56fe\u5e93\u8fd8\u662f\u4e92\u52a8\u5f0f\u73af\u5883\u4e2d\uff0c\u90fd\u53ef\u4ee5\u901a\u8fc7\u7b80\u5355\u7684\u8bbe\u7f6e\u6216\u4ee3\u7801\u5b9e\u73b0\u5b57\u4f53\u5927\u5c0f\u7684\u81ea\u5b9a\u4e49\u3002\u5728\u4f7f\u7528\u8fd9\u4e9b\u65b9\u6cd5\u65f6\uff0c\u8981\u6ce8\u610f\u5b57\u4f53\u7684\u53ef\u8bfb\u6027\u548c\u6574\u4f53\u7f8e\u89c2\uff0c\u4ee5\u786e\u4fdd\u6700\u4f73\u7684\u7528\u6237\u4f53\u9a8c\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u7684\u56fe\u5f62\u754c\u9762\u4e2d\u8c03\u6574\u5b57\u4f53\u5927\u5c0f\uff1f<\/strong><br \/>\u5728\u4f7f\u7528Python\u7684\u56fe\u5f62\u5e93\uff08\u5982Tkinter\u3001PyQt\u7b49\uff09\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u5b57\u4f53\u5c5e\u6027\u6765\u8c03\u6574\u5b57\u4f53\u5927\u5c0f\u3002\u4f8b\u5982\uff0c\u5728Tkinter\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>font<\/code>\u6a21\u5757\u6765\u521b\u5efa\u4e00\u4e2a\u5b57\u4f53\u5bf9\u8c61\uff0c\u5e76\u901a\u8fc7<code>config<\/code>\u65b9\u6cd5\u5e94\u7528\u5230\u6587\u672c\u7ec4\u4ef6\u4e0a\u3002\u5177\u4f53\u4ee3\u7801\u793a\u4f8b\u4e3a\uff1a  <\/p>\n<pre><code class=\"language-python\">import tkinter as tk\nfrom tkinter import font\n\nroot = tk.Tk()\ncustom_font = font.Font(size=20)  # \u8bbe\u7f6e\u5b57\u4f53\u5927\u5c0f\u4e3a20\nlabel = tk.Label(root, text=&quot;Hello, World!&quot;, font=custom_font)\nlabel.pack()\nroot.mainloop()\n<\/code><\/pre>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u7684Matplotlib\u56fe\u8868\u4e2d\u589e\u5927\u5b57\u4f53\uff1f<\/strong><br \/>\u5728\u4f7f\u7528Matplotlib\u7ed8\u5236\u56fe\u8868\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7<code>fontsize<\/code>\u53c2\u6570\u6765\u8bbe\u7f6e\u6807\u9898\u3001\u5750\u6807\u8f74\u6807\u7b7e\u548c\u523b\u5ea6\u7684\u5b57\u4f53\u5927\u5c0f\u3002\u4f8b\u5982\uff1a  <\/p>\n<pre><code class=\"language-python\">import matplotlib.pyplot as plt\n\nplt.plot([1, 2, 3], [4, 5, 6])\nplt.title(&#39;Sample Plot&#39;, fontsize=20)  # \u8bbe\u7f6e\u6807\u9898\u5b57\u4f53\u5927\u5c0f\nplt.xlabel(&#39;X-axis&#39;, fontsize=15)  # \u8bbe\u7f6eX\u8f74\u6807\u7b7e\u5b57\u4f53\u5927\u5c0f\nplt.ylabel(&#39;Y-axis&#39;, fontsize=15)  # \u8bbe\u7f6eY\u8f74\u6807\u7b7e\u5b57\u4f53\u5927\u5c0f\nplt.show()\n<\/code><\/pre>\n<p><strong>\u5728Jupyter Notebook\u4e2d\u5982\u4f55\u8c03\u6574\u8f93\u51fa\u6587\u672c\u7684\u5b57\u4f53\u5927\u5c0f\uff1f<\/strong><br \/>\u5728Jupyter Notebook\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7HTML\u6216Markdown\u8bed\u6cd5\u8c03\u6574\u6587\u672c\u7684\u5b57\u4f53\u5927\u5c0f\u3002\u4f7f\u7528HTML\u6807\u7b7e<code>&lt;h1&gt;<\/code>\u5230<code>&lt;h6&gt;<\/code>\u53ef\u4ee5\u8bbe\u7f6e\u4e0d\u540c\u7684\u6807\u9898\u5927\u5c0f\uff0c\u4f8b\u5982\uff1a  <\/p>\n<pre><code class=\"language-python\">from IPython.core.display import display, HTML\n\ndisplay(HTML(&quot;&lt;h1 style=&#39;font-size:40px;&#39;&gt;\u8fd9\u662f\u5927\u5b57\u4f53&lt;\/h1&gt;&quot;))\n<\/code><\/pre>\n<p>\u4e5f\u53ef\u4ee5\u901a\u8fc7Markdown\u8bed\u6cd5\u4f7f\u7528<code>#<\/code>\u7b26\u53f7\u6765\u6539\u53d8\u6587\u672c\u7684\u5927\u5c0f\uff0c\u4f7f\u7528<code>#<\/code>\u8868\u793a\u6700\u5927\u5b57\u4f53\uff0c\u4f9d\u6b21\u9012\u51cf\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u4f7f\u5b57\u4f53\u53d8\u5927\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff0c\u5305\u62ec\u5728\u56fe\u5f62\u7528\u6237\u754c\u9762\uff08GUI\uff09\u5e93\u4e2d\u8bbe\u7f6e\u5b57\u4f53\u5927\u5c0f\u3001\u8c03\u6574\u6587\u672c\u7f16\u8f91\u5668\u4e2d\u7684\u5b57\u4f53\u8bbe [&hellip;]","protected":false},"author":3,"featured_media":1010275,"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\/1010267"}],"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=1010267"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1010267\/revisions"}],"predecessor-version":[{"id":1010278,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1010267\/revisions\/1010278"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1010275"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1010267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1010267"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1010267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}