{"id":1005766,"date":"2024-12-27T10:38:36","date_gmt":"2024-12-27T02:38:36","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1005766.html"},"modified":"2024-12-27T10:38:39","modified_gmt":"2024-12-27T02:38:39","slug":"python%e5%a6%82%e4%bd%95%e5%9e%82%e7%9b%b4%e8%be%93%e5%85%a5%e4%b8%ad%e6%96%87","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1005766.html","title":{"rendered":"python\u5982\u4f55\u5782\u76f4\u8f93\u5165\u4e2d\u6587"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25082149\/d7a353fb-b458-4402-9198-bbd6fde3d5de.webp\" alt=\"python\u5982\u4f55\u5782\u76f4\u8f93\u5165\u4e2d\u6587\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u5b9e\u73b0\u5782\u76f4\u8f93\u5165\u4e2d\u6587\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528\u591a\u884c\u5b57\u7b26\u4e32\u3001\u7ed3\u5408\u7ec8\u7aef\u6837\u5f0f\u63a7\u5236\u5e93\u3001\u4f7f\u7528\u56fe\u5f62\u754c\u9762\u5e93\u3002<\/strong>\u5176\u4e2d\uff0c<strong>\u4f7f\u7528\u591a\u884c\u5b57\u7b26\u4e32<\/strong>\u662f\u6700\u7b80\u5355\u7684\u65b9\u6cd5\uff0c\u53ef\u4ee5\u901a\u8fc7\u5728\u5b57\u7b26\u4e32\u4e2d\u6dfb\u52a0\u6362\u884c\u7b26\u5b9e\u73b0\u6bcf\u4e2a\u5b57\u7b26\u5782\u76f4\u6392\u5217\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u5c55\u5f00\u8fd9\u4e00\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p>\u4f7f\u7528\u591a\u884c\u5b57\u7b26\u4e32\u662f\u6700\u76f4\u63a5\u7684\u65b9\u6cd5\uff0c\u901a\u8fc7\u5728\u5b57\u7b26\u4e32\u4e2d\u63d2\u5165\u6362\u884c\u7b26<code>\\n<\/code>\uff0c\u53ef\u4ee5\u5b9e\u73b0\u4e2d\u6587\u5b57\u7b26\u7684\u5782\u76f4\u6392\u5217\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">vertical_text = &quot;\u4e2d\\n\u6587\\n\u5782\\n\u76f4\\n\u8f93\\n\u5165&quot;<\/p>\n<p>print(vertical_text)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u867d\u7136\u7b80\u5355\uff0c\u4f46\u53ea\u9002\u7528\u4e8e\u56fa\u5b9a\u6587\u672c\u3002\u5728\u66f4\u590d\u6742\u7684\u5e94\u7528\u4e2d\uff0c\u6bd4\u5982\u52a8\u6001\u751f\u6210\u7684\u6587\u672c\u6216\u9700\u8981\u5728\u7ec8\u7aef\u4e2d\u4ee5\u7279\u5b9a\u6837\u5f0f\u663e\u793a\u7684\u6587\u672c\uff0c\u6211\u4eec\u53ef\u80fd\u9700\u8981\u4f7f\u7528\u66f4\u591a\u7684\u5de5\u5177\uff0c\u6bd4\u5982\u7ec8\u7aef\u6837\u5f0f\u63a7\u5236\u5e93<code>curses<\/code>\u6216\u56fe\u5f62\u754c\u9762\u5e93<code>tkinter<\/code>\u3002<\/p>\n<\/p>\n<hr>\n<p><p>\u4e00\u3001\u4f7f\u7528\u591a\u884c\u5b57\u7b26\u4e32<\/p>\n<\/p>\n<p><p>\u591a\u884c\u5b57\u7b26\u4e32\u662f\u4e00\u79cd\u7b80\u4fbf\u7684\u5b9e\u73b0\u65b9\u5f0f\uff0c\u9002\u5408\u7528\u4e8e\u9759\u6001\u6587\u672c\u7684\u5c55\u793a\u3002\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u7b80\u5355\u7684\u5b57\u7b26\u4e32\u64cd\u4f5c\u6765\u5b9e\u73b0\u3002\u8fd9\u79cd\u65b9\u6cd5\u7684\u4f18\u70b9\u662f\u7b80\u5355\u6613\u7528\uff0c\u65e0\u9700\u989d\u5916\u7684\u5e93\u652f\u6301\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u57fa\u7840\u5b9e\u73b0<\/strong><\/p>\n<\/p>\n<p><p>\u57fa\u7840\u7684\u591a\u884c\u5b57\u7b26\u4e32\u5b9e\u73b0\u53ef\u4ee5\u901a\u8fc7\u5728\u9700\u8981\u5206\u9694\u7684\u5730\u65b9\u63d2\u5165\u6362\u884c\u7b26\u6765\u5b9e\u73b0\u3002\u5bf9\u4e8e\u9700\u8981\u5c55\u793a\u7684\u4e2d\u6587\u5b57\u7b26\uff0c\u6bcf\u4e2a\u5b57\u7b26\u540e\u9762\u6dfb\u52a0\u4e00\u4e2a\u6362\u884c\u7b26\uff0c\u5c31\u53ef\u4ee5\u5b9e\u73b0\u5782\u76f4\u5c55\u793a\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">text = &quot;\u5782\u76f4\u8f93\u5165&quot;<\/p>\n<p>vertical_text = &quot;\\n&quot;.join(text)<\/p>\n<p>print(vertical_text)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u7b80\u5355\u7684\u573a\u5408\uff0c\u6bd4\u5982\u9700\u8981\u5728\u547d\u4ee4\u884c\u5feb\u901f\u5c55\u793a\u7ed3\u679c\u65f6\u4f7f\u7528\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u591a\u884c\u8f93\u5165<\/strong><\/p>\n<\/p>\n<p><p>\u5982\u679c\u9700\u8981\u4ece\u7528\u6237\u8f93\u5165\u83b7\u53d6\u5b57\u7b26\u4e32\u5e76\u8fdb\u884c\u5782\u76f4\u5c55\u793a\uff0c\u53ef\u4ee5\u7ed3\u5408<code>input()<\/code>\u51fd\u6570\u4f7f\u7528\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">user_input = input(&quot;\u8bf7\u8f93\u5165\u8981\u5782\u76f4\u663e\u793a\u7684\u4e2d\u6587\uff1a&quot;)<\/p>\n<p>vertical_text = &quot;\\n&quot;.join(user_input)<\/p>\n<p>print(vertical_text)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6837\u53ef\u4ee5\u5904\u7406\u7528\u6237\u8f93\u5165\u7684\u4efb\u610f\u4e2d\u6587\u5b57\u7b26\u4e32\uff0c\u5e76\u5728\u7ec8\u7aef\u4e2d\u5782\u76f4\u5c55\u793a\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001\u7ed3\u5408\u7ec8\u7aef\u6837\u5f0f\u63a7\u5236\u5e93<\/p>\n<\/p>\n<p><p>\u5728\u547d\u4ee4\u884c\u7a0b\u5e8f\u4e2d\uff0c\u5982\u679c\u9700\u8981\u66f4\u590d\u6742\u7684\u663e\u793a\u6548\u679c\uff0c\u53ef\u80fd\u9700\u8981\u4f7f\u7528\u7ec8\u7aef\u63a7\u5236\u5e93\uff0c\u6bd4\u5982<code>curses<\/code>\u3002<code>curses<\/code>\u5e93\u63d0\u4f9b\u4e86\u4e00\u79cd\u65b9\u6cd5\u6765\u63a7\u5236\u7ec8\u7aef\u7684\u663e\u793a\uff0c\u5305\u62ec\u6587\u672c\u7684\u5b9a\u4f4d\u3001\u989c\u8272\u548c\u6837\u5f0f\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u88c5\u548c\u57fa\u7840\u4f7f\u7528<\/strong><\/p>\n<\/p>\n<p><p><code>curses<\/code>\u5e93\u662fPython\u7684\u6807\u51c6\u5e93\u4e4b\u4e00\uff0c\u65e0\u9700\u989d\u5916\u5b89\u88c5\u3002\u5176\u57fa\u672c\u7528\u6cd5\u5305\u62ec\u521d\u59cb\u5316\u7a97\u53e3\u3001\u8bbe\u7f6e\u7a97\u53e3\u53c2\u6570\u3001\u5237\u65b0\u7a97\u53e3\u7b49\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import curses<\/p>\n<p>def m<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>n(stdscr):<\/p>\n<p>    stdscr.clear()<\/p>\n<p>    text = &quot;\u5782\u76f4\u8f93\u5165&quot;<\/p>\n<p>    for i, char in enumerate(text):<\/p>\n<p>        stdscr.addstr(i, 0, char)<\/p>\n<p>    stdscr.refresh()<\/p>\n<p>    stdscr.getkey()<\/p>\n<p>curses.wrapper(main)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528<code>curses.addstr()<\/code>\u65b9\u6cd5\u5728\u4e0d\u540c\u7684\u884c\u4e0a\u8f93\u51fa\u5b57\u7b26\uff0c\u5f62\u6210\u5782\u76f4\u6392\u5217\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u66f4\u591a\u63a7\u5236<\/strong><\/p>\n<\/p>\n<p><p><code>curses<\/code>\u5e93\u8fd8\u53ef\u4ee5\u63a7\u5236\u6587\u672c\u989c\u8272\u3001\u80cc\u666f\u989c\u8272\u548c\u5176\u4ed6\u5c5e\u6027\uff0c\u53ef\u4ee5\u901a\u8fc7<code>curses.init_pair()<\/code>\u548c<code>curses.color_pair()<\/code>\u6765\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def main(stdscr):<\/p>\n<p>    curses.start_color()<\/p>\n<p>    curses.init_pair(1, curses.COLOR_RED, curses.COLOR_BLACK)<\/p>\n<p>    text = &quot;\u5782\u76f4\u8f93\u5165&quot;<\/p>\n<p>    for i, char in enumerate(text):<\/p>\n<p>        stdscr.addstr(i, 0, char, curses.color_pair(1))<\/p>\n<p>    stdscr.refresh()<\/p>\n<p>    stdscr.getkey()<\/p>\n<p>curses.wrapper(main)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u9002\u5408\u7528\u4e8e\u9700\u8981\u5728\u7ec8\u7aef\u4e2d\u5b9e\u73b0\u590d\u6742\u663e\u793a\u6548\u679c\u7684\u573a\u5408\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u4f7f\u7528\u56fe\u5f62\u754c\u9762\u5e93<\/p>\n<\/p>\n<p><p>\u5bf9\u4e8e\u56fe\u5f62\u754c\u9762\u7684\u5e94\u7528\uff0c<code>tkinter<\/code>\u662f\u4e00\u4e2a\u5e38\u7528\u7684\u9009\u62e9\u3002\u5b83\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u63a7\u4ef6\u548c\u5e03\u5c40\u7ba1\u7406\uff0c\u53ef\u4ee5\u5b9e\u73b0\u66f4\u590d\u6742\u7684\u754c\u9762\u548c\u4ea4\u4e92\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u57fa\u7840\u4f7f\u7528<\/strong><\/p>\n<\/p>\n<p><p><code>tkinter<\/code>\u662fPython\u7684\u6807\u51c6\u5e93\uff0c\u9002\u7528\u4e8e\u684c\u9762\u5e94\u7528\u5f00\u53d1\u3002\u53ef\u4ee5\u901a\u8fc7\u7b80\u5355\u7684\u8bbe\u7f6e\u5b9e\u73b0\u6587\u672c\u7684\u5782\u76f4\u663e\u793a\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import tkinter as tk<\/p>\n<p>root = tk.Tk()<\/p>\n<p>label = tk.Label(root, text=&quot;\u5782\u76f4\u8f93\u5165&quot;, justify=&#39;left&#39;)<\/p>\n<p>label.pack()<\/p>\n<p>root.mainloop()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u7b80\u5355\u521b\u5efa\u4e86\u4e00\u4e2a\u7a97\u53e3\uff0c\u5e76\u5728\u5176\u4e2d\u653e\u7f6e\u4e86\u4e00\u4e2a\u6807\u7b7e\u3002\u867d\u7136<code>tkinter<\/code>\u672c\u8eab\u4e0d\u76f4\u63a5\u652f\u6301\u5782\u76f4\u6587\u672c\uff0c\u4f46\u53ef\u4ee5\u901a\u8fc7\u624b\u52a8\u6dfb\u52a0\u6362\u884c\u7b26\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u81ea\u5b9a\u4e49\u5e03\u5c40<\/strong><\/p>\n<\/p>\n<p><p><code>tkinter<\/code>\u5141\u8bb8\u901a\u8fc7\u81ea\u5b9a\u4e49\u5e03\u5c40\u7ba1\u7406\u5668\u5b9e\u73b0\u66f4\u590d\u6742\u7684\u754c\u9762\u5e03\u5c40\u3002\u53ef\u4ee5\u901a\u8fc7\u5faa\u73af\u521b\u5efa\u591a\u4e2a<code>Label<\/code>\u63a7\u4ef6\uff0c\u5e76\u5c06\u5b83\u4eec\u5782\u76f4\u6392\u5217\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def create_vertical_text(root, text):<\/p>\n<p>    for char in text:<\/p>\n<p>        label = tk.Label(root, text=char)<\/p>\n<p>        label.pack()<\/p>\n<p>root = tk.Tk()<\/p>\n<p>create_vertical_text(root, &quot;\u5782\u76f4\u8f93\u5165&quot;)<\/p>\n<p>root.mainloop()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u9002\u5408\u7528\u4e8e\u9700\u8981\u5728\u684c\u9762\u5e94\u7528\u4e2d\u5b9e\u73b0\u5782\u76f4\u6587\u672c\u663e\u793a\u7684\u573a\u5408\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<hr>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u65b9\u6cd5\uff0c\u53ef\u4ee5\u5728\u4e0d\u540c\u7684\u573a\u5408\u4e0b\u5b9e\u73b0Python\u4e2d\u4e2d\u6587\u7684\u5782\u76f4\u8f93\u5165\u548c\u663e\u793a\u3002\u6839\u636e\u5177\u4f53\u7684\u4f7f\u7528\u9700\u6c42\uff0c\u53ef\u4ee5\u9009\u62e9\u9002\u5408\u7684\u65b9\u6cd5\u6765\u5b9e\u73b0\u76ee\u6807\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5b9e\u73b0\u5782\u76f4\u8f93\u5165\u4e2d\u6587\uff1f<\/strong><br \/>\u5728Python\u4e2d\u5b9e\u73b0\u5782\u76f4\u8f93\u5165\u4e2d\u6587\u901a\u5e38\u6d89\u53ca\u5230\u56fe\u5f62\u754c\u9762\u6216\u6587\u672c\u5904\u7406\u5e93\uff0c\u6bd4\u5982\u4f7f\u7528Tkinter\u6216PIL\uff08Python Imaging Library\uff09\u3002\u53ef\u4ee5\u901a\u8fc7\u5c06\u6bcf\u4e2a\u5b57\u7b26\u5355\u72ec\u7ed8\u5236\u5728\u4e0d\u540c\u7684\u7eb5\u5750\u6807\u4f4d\u7f6e\u6765\u5b9e\u73b0\u4e2d\u6587\u7684\u5782\u76f4\u6392\u5217\u3002\u5177\u4f53\u6b65\u9aa4\u5305\u62ec\u521b\u5efa\u4e00\u4e2a\u753b\u5e03\uff0c\u7136\u540e\u9010\u4e2a\u7ed8\u5236\u5b57\u7b26\u3002<\/p>\n<p><strong>\u4f7f\u7528\u54ea\u4e9b\u5e93\u53ef\u4ee5\u65b9\u4fbf\u5730\u5904\u7406\u4e2d\u6587\u7684\u5782\u76f4\u8f93\u5165\uff1f<\/strong><br \/>\u5904\u7406\u4e2d\u6587\u5782\u76f4\u8f93\u5165\u65f6\uff0cTkinter\u662f\u4e00\u4e2a\u5e38\u7528\u7684\u5e93\uff0c\u5b83\u63d0\u4f9b\u4e86\u7b80\u5355\u7684\u56fe\u5f62\u754c\u9762\u652f\u6301\u3002\u6b64\u5916\uff0cPIL\u6216\u5176\u5206\u652fPillow\u5e93\u4e5f\u975e\u5e38\u6709\u7528\uff0c\u53ef\u4ee5\u7528\u4e8e\u56fe\u50cf\u5904\u7406\u548c\u6587\u672c\u7ed8\u5236\u3002\u9009\u62e9\u5408\u9002\u7684\u5e93\u80fd\u591f\u5927\u5927\u7b80\u5316\u5b9e\u73b0\u8fc7\u7a0b\u3002<\/p>\n<p><strong>\u5728\u5782\u76f4\u8f93\u5165\u4e2d\u6587\u65f6\uff0c\u5982\u4f55\u786e\u4fdd\u5b57\u7b26\u95f4\u8ddd\u548c\u5bf9\u9f50\uff1f<\/strong><br \/>\u5b57\u7b26\u95f4\u8ddd\u548c\u5bf9\u9f50\u53ef\u4ee5\u901a\u8fc7\u8c03\u6574\u7ed8\u5236\u65f6\u7684y\u5750\u6807\u6765\u5b9e\u73b0\u3002\u901a\u8fc7\u8bbe\u7f6e\u4e00\u4e2a\u56fa\u5b9a\u7684\u95f4\u9694\u503c\uff0c\u53ef\u4ee5\u786e\u4fdd\u6bcf\u4e2a\u5b57\u7b26\u4e4b\u95f4\u7684\u8ddd\u79bb\u4e00\u81f4\u3002\u6b64\u5916\uff0c\u8ba1\u7b97\u6587\u672c\u7684\u5bbd\u5ea6\u5e76\u6839\u636e\u9700\u8981\u8fdb\u884c\u8c03\u6574\uff0c\u53ef\u4ee5\u786e\u4fdd\u5b57\u7b26\u5728\u89c6\u89c9\u4e0a\u5448\u73b0\u51fa\u826f\u597d\u7684\u5bf9\u9f50\u6548\u679c\u3002<\/p>\n<p><strong>\u5982\u4f55\u5904\u7406\u4e2d\u6587\u5b57\u7b26\u7f16\u7801\u95ee\u9898\u4ee5\u907f\u514d\u663e\u793a\u9519\u8bef\uff1f<\/strong><br \/>\u786e\u4fdd\u5728\u4ee3\u7801\u4e2d\u4f7f\u7528UTF-8\u7f16\u7801\u662f\u5904\u7406\u4e2d\u6587\u5b57\u7b26\u663e\u793a\u95ee\u9898\u7684\u5173\u952e\u3002\u5728\u6587\u4ef6\u5f00\u5934\u6dfb\u52a0<code># -*- coding: utf-8 -*-<\/code>\uff0c\u5e76\u5728\u5904\u7406\u5b57\u7b26\u4e32\u65f6\u4f7f\u7528<code>str.encode(&#39;utf-8&#39;)<\/code>\u548c<code>str.decode(&#39;utf-8&#39;)<\/code>\u65b9\u6cd5\uff0c\u53ef\u4ee5\u6709\u6548\u907f\u514d\u663e\u793a\u9519\u8bef\uff0c\u786e\u4fdd\u4e2d\u6587\u5b57\u7b26\u6b63\u5e38\u663e\u793a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u5b9e\u73b0\u5782\u76f4\u8f93\u5165\u4e2d\u6587\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528\u591a\u884c\u5b57\u7b26\u4e32\u3001\u7ed3\u5408\u7ec8\u7aef\u6837\u5f0f\u63a7\u5236\u5e93\u3001\u4f7f\u7528\u56fe\u5f62\u754c\u9762\u5e93\u3002\u5176\u4e2d\uff0c\u4f7f\u7528\u591a\u884c [&hellip;]","protected":false},"author":3,"featured_media":1005779,"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\/1005766"}],"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=1005766"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1005766\/revisions"}],"predecessor-version":[{"id":1005782,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1005766\/revisions\/1005782"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1005779"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1005766"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1005766"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1005766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}