{"id":1129749,"date":"2025-01-08T20:32:19","date_gmt":"2025-01-08T12:32:19","guid":{"rendered":""},"modified":"2025-01-08T20:32:22","modified_gmt":"2025-01-08T12:32:22","slug":"%e5%9c%a8python%e4%b8%ad%e5%a6%82%e4%bd%95%e8%a1%a8%e7%a4%ba%e7%94%a8%e6%88%b7%e8%be%93%e5%85%a5%e5%9b%9e%e8%bd%a6%e9%94%ae","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1129749.html","title":{"rendered":"\u5728python\u4e2d\u5982\u4f55\u8868\u793a\u7528\u6237\u8f93\u5165\u56de\u8f66\u952e"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25100053\/5f34ab7d-02ea-4447-a7b5-4f787d8e4c04.webp\" alt=\"\u5728python\u4e2d\u5982\u4f55\u8868\u793a\u7528\u6237\u8f93\u5165\u56de\u8f66\u952e\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\uff0c\u7528\u6237\u8f93\u5165\u56de\u8f66\u952e\u53ef\u4ee5\u901a\u8fc7\u68c0\u6d4b\u8f93\u5165\u5b57\u7b26\u4e32\u662f\u5426\u4e3a\u7a7a\u6765\u5b9e\u73b0\u3001\u4f7f\u7528 <code>input()<\/code> \u51fd\u6570\u6355\u6349\u7528\u6237\u8f93\u5165\u3001\u7ed3\u5408\u6761\u4ef6\u8bed\u53e5\u5904\u7406\u7528\u6237\u7684\u56de\u8f66\u952e\u8f93\u5165\u3002<\/strong> \u56de\u8f66\u952e\u901a\u5e38\u8868\u793a\u7528\u6237\u8f93\u5165\u7684\u7ed3\u675f\uff0c\u56e0\u6b64\u5728\u7f16\u5199\u4ea4\u4e92\u5f0f\u7a0b\u5e8f\u65f6\uff0c\u9700\u8981\u80fd\u591f\u6b63\u786e\u5904\u7406\u7528\u6237\u6309\u4e0b\u56de\u8f66\u952e\u7684\u60c5\u51b5\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u5c55\u5f00\u5982\u4f55\u5728Python\u4e2d\u5904\u7406\u7528\u6237\u8f93\u5165\u56de\u8f66\u952e\u7684\u65b9\u6cd5\u548c\u6280\u5de7\u3002<\/p>\n<\/p>\n<hr>\n<p><h3>\u4e00\u3001\u68c0\u6d4b\u8f93\u5165\u5b57\u7b26\u4e32\u662f\u5426\u4e3a\u7a7a<\/h3>\n<\/p>\n<p><p>\u5f53\u7528\u6237\u6309\u4e0b\u56de\u8f66\u952e\u800c\u4e0d\u8f93\u5165\u4efb\u4f55\u5176\u4ed6\u5b57\u7b26\u65f6\uff0c<code>input()<\/code> \u51fd\u6570\u6355\u6349\u5230\u7684\u8f93\u5165\u5c06\u662f\u4e00\u4e2a\u7a7a\u5b57\u7b26\u4e32\u3002\u56e0\u6b64\uff0c\u53ef\u4ee5\u901a\u8fc7\u68c0\u6d4b\u8f93\u5165\u5b57\u7b26\u4e32\u662f\u5426\u4e3a\u7a7a\u6765\u5224\u65ad\u7528\u6237\u662f\u5426\u6309\u4e0b\u4e86\u56de\u8f66\u952e\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">user_input = input(&quot;Press Enter to continue or type something: &quot;)<\/p>\n<p>if user_input == &quot;&quot;:<\/p>\n<p>    print(&quot;You pressed Enter!&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(f&quot;You typed: {user_input}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u5982\u679c\u7528\u6237\u76f4\u63a5\u6309\u4e0b\u56de\u8f66\u952e\uff0c<code>user_input<\/code> \u5c06\u662f\u4e00\u4e2a\u7a7a\u5b57\u7b26\u4e32\uff0c\u7a0b\u5e8f\u5c06\u8f93\u51fa &quot;You pressed Enter!&quot;\u3002\u5426\u5219\uff0c\u7a0b\u5e8f\u5c06\u8f93\u51fa\u7528\u6237\u8f93\u5165\u7684\u5185\u5bb9\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528 <code>input()<\/code> \u51fd\u6570\u6355\u6349\u7528\u6237\u8f93\u5165<\/h3>\n<\/p>\n<p><p><code>input()<\/code> \u51fd\u6570\u662fPython\u4e2d\u7528\u4e8e\u6355\u6349\u7528\u6237\u8f93\u5165\u7684\u4e3b\u8981\u5de5\u5177\u3002\u5b83\u4f1a\u6682\u505c\u7a0b\u5e8f\u7684\u6267\u884c\uff0c\u7b49\u5f85\u7528\u6237\u8f93\u5165\u5185\u5bb9\u5e76\u6309\u4e0b\u56de\u8f66\u952e\uff0c\u7136\u540e\u5c06\u7528\u6237\u8f93\u5165\u7684\u5185\u5bb9\u4f5c\u4e3a\u5b57\u7b26\u4e32\u8fd4\u56de\u3002\u8fd9\u4e2a\u51fd\u6570\u975e\u5e38\u7075\u6d3b\uff0c\u53ef\u4ee5\u7528\u4e8e\u5404\u79cd\u4ea4\u4e92\u5f0f\u5e94\u7528\u4e2d\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def get_user_input(prompt):<\/p>\n<p>    return input(prompt)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u51fd\u6570\u53ef\u4ee5\u88ab\u591a\u6b21\u8c03\u7528\uff0c\u6bcf\u6b21\u90fd\u4f1a\u6355\u6349\u7528\u6237\u8f93\u5165\u5e76\u8fd4\u56de\u4e00\u4e2a\u5b57\u7b26\u4e32\u3002\u7ed3\u5408\u6761\u4ef6\u8bed\u53e5\uff0c\u53ef\u4ee5\u5904\u7406\u4e0d\u540c\u7684\u8f93\u5165\u60c5\u666f\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u7ed3\u5408\u6761\u4ef6\u8bed\u53e5\u5904\u7406\u7528\u6237\u7684\u56de\u8f66\u952e\u8f93\u5165<\/h3>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u5904\u7406\u7528\u6237\u8f93\u5165\u901a\u5e38\u9700\u8981\u7ed3\u5408\u6761\u4ef6\u8bed\u53e5\u3002\u4e0b\u9762\u7684\u4f8b\u5b50\u5c55\u793a\u4e86\u5982\u4f55\u4f7f\u7528\u6761\u4ef6\u8bed\u53e5\u5904\u7406\u7528\u6237\u6309\u4e0b\u56de\u8f66\u952e\u7684\u60c5\u51b5\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def process_user_input():<\/p>\n<p>    while True:<\/p>\n<p>        user_input = input(&quot;Enter something (or just press Enter to exit): &quot;)<\/p>\n<p>        if user_input == &quot;&quot;:<\/p>\n<p>            print(&quot;Exiting the program.&quot;)<\/p>\n<p>            break<\/p>\n<p>        else:<\/p>\n<p>            print(f&quot;You entered: {user_input}&quot;)<\/p>\n<p>process_user_input()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u7a0b\u5e8f\u4f1a\u4e00\u76f4\u5faa\u73af\uff0c\u76f4\u5230\u7528\u6237\u6309\u4e0b\u56de\u8f66\u952e\u3002\u6bcf\u6b21\u5faa\u73af\uff0c\u7a0b\u5e8f\u90fd\u4f1a\u63d0\u793a\u7528\u6237\u8f93\u5165\u5185\u5bb9\u3002\u5982\u679c\u7528\u6237\u8f93\u5165\u4e86\u5185\u5bb9\uff0c\u7a0b\u5e8f\u4f1a\u8f93\u51fa\u7528\u6237\u8f93\u5165\u7684\u5185\u5bb9\uff1b\u5982\u679c\u7528\u6237\u6309\u4e0b\u56de\u8f66\u952e\uff0c\u7a0b\u5e8f\u4f1a\u8f93\u51fa &quot;Exiting the program.&quot; \u5e76\u9000\u51fa\u5faa\u73af\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u5904\u7406\u591a\u79cd\u8f93\u5165\u60c5\u51b5<\/h3>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5f00\u53d1\u4e2d\uff0c\u7528\u6237\u8f93\u5165\u7684\u60c5\u51b5\u53ef\u80fd\u66f4\u52a0\u590d\u6742\u3002\u4f8b\u5982\uff0c\u4f60\u53ef\u80fd\u9700\u8981\u5904\u7406\u7528\u6237\u8f93\u5165\u7279\u5b9a\u7684\u547d\u4ee4\uff0c\u6216\u8005\u8f93\u5165\u7279\u5b9a\u7684\u683c\u5f0f\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u66f4\u590d\u6742\u7684\u793a\u4f8b\uff0c\u5c55\u793a\u4e86\u5982\u4f55\u5904\u7406\u591a\u79cd\u8f93\u5165\u60c5\u51b5\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def handle_input():<\/p>\n<p>    while True:<\/p>\n<p>        user_input = input(&quot;Enter a command (type &#39;quit&#39; to exit): &quot;)<\/p>\n<p>        if user_input == &quot;&quot;:<\/p>\n<p>            print(&quot;You pressed Enter! Please enter a command.&quot;)<\/p>\n<p>        elif user_input.lower() == &quot;quit&quot;:<\/p>\n<p>            print(&quot;Exiting the program.&quot;)<\/p>\n<p>            break<\/p>\n<p>        else:<\/p>\n<p>            print(f&quot;Executing command: {user_input}&quot;)<\/p>\n<p>handle_input()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u7528\u6237\u53ef\u4ee5\u8f93\u5165\u7279\u5b9a\u7684\u547d\u4ee4\uff0c\u6216\u8005\u76f4\u63a5\u6309\u4e0b\u56de\u8f66\u952e\u3002\u5982\u679c\u7528\u6237\u6309\u4e0b\u56de\u8f66\u952e\u800c\u4e0d\u8f93\u5165\u4efb\u4f55\u5185\u5bb9\uff0c\u7a0b\u5e8f\u4f1a\u63d0\u793a\u7528\u6237\u8f93\u5165\u4e00\u4e2a\u547d\u4ee4\uff1b\u5982\u679c\u7528\u6237\u8f93\u5165 &quot;quit&quot;\uff0c\u7a0b\u5e8f\u4f1a\u9000\u51fa\uff1b\u5426\u5219\uff0c\u7a0b\u5e8f\u4f1a\u5047\u8bbe\u7528\u6237\u8f93\u5165\u7684\u662f\u4e00\u4e2a\u547d\u4ee4\u5e76\u8f93\u51fa\u76f8\u5e94\u7684\u4fe1\u606f\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u5728GUI\u5e94\u7528\u4e2d\u5904\u7406\u56de\u8f66\u952e<\/h3>\n<\/p>\n<p><p>\u5728\u56fe\u5f62\u7528\u6237\u754c\u9762\uff08GUI\uff09\u5e94\u7528\u4e2d\uff0c\u5904\u7406\u56de\u8f66\u952e\u7684\u65b9\u5f0f\u6709\u6240\u4e0d\u540c\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u4f7f\u7528Tkinter\u5e93\u7684\u793a\u4f8b\uff0c\u5c55\u793a\u4e86\u5982\u4f55\u5728GUI\u5e94\u7528\u4e2d\u5904\u7406\u56de\u8f66\u952e\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import tkinter as tk<\/p>\n<p>def on_enter(event):<\/p>\n<p>    user_input = entry.get()<\/p>\n<p>    if user_input == &quot;&quot;:<\/p>\n<p>        label.config(text=&quot;You pressed Enter!&quot;)<\/p>\n<p>    else:<\/p>\n<p>        label.config(text=f&quot;You entered: {user_input}&quot;)<\/p>\n<p>    entry.delete(0, tk.END)<\/p>\n<p>root = tk.Tk()<\/p>\n<p>root.title(&quot;Enter Key Example&quot;)<\/p>\n<p>entry = tk.Entry(root)<\/p>\n<p>entry.pack()<\/p>\n<p>entry.bind(&quot;&lt;Return&gt;&quot;, on_enter)<\/p>\n<p>label = tk.Label(root, text=&quot;&quot;)<\/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\u793a\u4f8b\u4e2d\uff0c\u7a0b\u5e8f\u521b\u5efa\u4e86\u4e00\u4e2a\u7b80\u5355\u7684Tkinter GUI\u5e94\u7528\u3002\u5f53\u7528\u6237\u5728\u8f93\u5165\u6846\u4e2d\u6309\u4e0b\u56de\u8f66\u952e\u65f6\uff0c<code>on_enter<\/code> \u51fd\u6570\u5c06\u88ab\u8c03\u7528\u3002\u8fd9\u4e2a\u51fd\u6570\u4f1a\u68c0\u67e5\u7528\u6237\u8f93\u5165\u7684\u5185\u5bb9\uff0c\u5e76\u6839\u636e\u8f93\u5165\u60c5\u51b5\u66f4\u65b0\u6807\u7b7e\u7684\u6587\u672c\u3002<\/p>\n<\/p>\n<p><h3>\u516d\u3001\u5904\u7406\u591a\u884c\u8f93\u5165<\/h3>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u4f60\u53ef\u80fd\u9700\u8981\u5904\u7406\u591a\u884c\u8f93\u5165\u3002\u4f8b\u5982\uff0c\u5f53\u7528\u6237\u6309\u4e0b\u56de\u8f66\u952e\u65f6\uff0c\u4e0d\u662f\u7ed3\u675f\u8f93\u5165\uff0c\u800c\u662f\u7ee7\u7eed\u8f93\u5165\u4e0b\u4e00\u884c\u3002\u8fd9\u79cd\u60c5\u51b5\u53ef\u4ee5\u4f7f\u7528 <code>sys.stdin.read<\/code> \u51fd\u6570\u6765\u5904\u7406\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import sys<\/p>\n<p>print(&quot;Enter multiple lines of text (press Ctrl+D to finish):&quot;)<\/p>\n<p>user_input = sys.stdin.read()<\/p>\n<p>print(&quot;You entered:&quot;)<\/p>\n<p>print(user_input)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u7a0b\u5e8f\u4f1a\u4e00\u76f4\u8bfb\u53d6\u7528\u6237\u8f93\u5165\u7684\u591a\u884c\u6587\u672c\uff0c\u76f4\u5230\u7528\u6237\u6309\u4e0b Ctrl+D\uff08\u5728Unix\u548cLinux\u7cfb\u7edf\u4e0a\uff09\u6216 Ctrl+Z\uff08\u5728Windows\u7cfb\u7edf\u4e0a\uff09\u6765\u7ed3\u675f\u8f93\u5165\u3002\u7136\u540e\uff0c\u7a0b\u5e8f\u4f1a\u8f93\u51fa\u7528\u6237\u8f93\u5165\u7684\u6240\u6709\u5185\u5bb9\u3002<\/p>\n<\/p>\n<p><h3>\u4e03\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u7efc\u4e0a\u6240\u8ff0\uff0c\u5728Python\u4e2d\u5904\u7406\u7528\u6237\u8f93\u5165\u56de\u8f66\u952e\u7684\u65b9\u6cd5\u4e3b\u8981\u5305\u62ec\uff1a<strong>\u68c0\u6d4b\u8f93\u5165\u5b57\u7b26\u4e32\u662f\u5426\u4e3a\u7a7a\u3001\u4f7f\u7528 <code>input()<\/code> \u51fd\u6570\u6355\u6349\u7528\u6237\u8f93\u5165\u3001\u7ed3\u5408\u6761\u4ef6\u8bed\u53e5\u5904\u7406\u7528\u6237\u7684\u56de\u8f66\u952e\u8f93\u5165<\/strong>\u3002\u8fd9\u4e9b\u65b9\u6cd5\u53ef\u4ee5\u7075\u6d3b\u5730\u5e94\u7528\u4e8e\u5404\u79cd\u4ea4\u4e92\u5f0f\u5e94\u7528\u4e2d\uff0c\u4ece\u7b80\u5355\u7684\u547d\u4ee4\u884c\u7a0b\u5e8f\u5230\u590d\u6742\u7684\u56fe\u5f62\u7528\u6237\u754c\u9762\u5e94\u7528\u3002\u901a\u8fc7\u7ed3\u5408\u5b9e\u9645\u9700\u6c42\u548c\u5177\u4f53\u573a\u666f\uff0c\u4f60\u53ef\u4ee5\u8bbe\u8ba1\u51fa\u66f4\u52a0\u667a\u80fd\u548c\u53cb\u597d\u7684\u7528\u6237\u4ea4\u4e92\u4f53\u9a8c\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u68c0\u6d4b\u7528\u6237\u6309\u4e0b\u56de\u8f66\u952e\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>input()<\/code>\u51fd\u6570\u6765\u63a5\u6536\u7528\u6237\u7684\u8f93\u5165\u3002\u5f53\u7528\u6237\u6309\u4e0b\u56de\u8f66\u952e\u65f6\uff0c<code>input()<\/code>\u51fd\u6570\u4f1a\u8fd4\u56de\u4e00\u4e2a\u5b57\u7b26\u4e32\u3002\u5982\u679c\u7528\u6237\u53ea\u6309\u4e0b\u56de\u8f66\u952e\u800c\u6ca1\u6709\u8f93\u5165\u4efb\u4f55\u5b57\u7b26\uff0c\u8fd4\u56de\u503c\u5c06\u662f\u4e00\u4e2a\u7a7a\u5b57\u7b26\u4e32\u3002\u53ef\u4ee5\u901a\u8fc7\u7b80\u5355\u7684\u6761\u4ef6\u5224\u65ad\u6765\u5904\u7406\u8fd9\u79cd\u60c5\u51b5\uff0c\u5224\u65ad\u8fd4\u56de\u503c\u662f\u5426\u4e3a\u7a7a\u5b57\u7b26\u4e32\u5373\u53ef\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u5982\u4f55\u5904\u7406\u591a\u884c\u8f93\u5165\uff0c\u5305\u62ec\u56de\u8f66\uff1f<\/strong><br \/>\u8981\u5904\u7406\u591a\u884c\u8f93\u5165\uff0c\u53ef\u4ee5\u4f7f\u7528\u5faa\u73af\u7ed3\u5408<code>input()<\/code>\u51fd\u6570\u3002\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u8fde\u7eed\u8f93\u5165\u6587\u672c\u5e76\u6309\u56de\u8f66\u952e\u6765\u63d0\u4ea4\u591a\u884c\u5185\u5bb9\u3002\u5f53\u7528\u6237\u8f93\u5165\u7279\u5b9a\u7684\u7ed3\u675f\u6807\u5fd7\uff08\u5982\u8f93\u5165\u201c\u7ed3\u675f\u201d\uff09\u65f6\uff0c\u53ef\u4ee5\u9000\u51fa\u5faa\u73af\u5e76\u5904\u7406\u6240\u6709\u8f93\u5165\u7684\u5185\u5bb9\u3002\u8fd9\u6837\u53ef\u4ee5\u65b9\u4fbf\u5730\u6536\u96c6\u7528\u6237\u7684\u591a\u884c\u4fe1\u606f\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python GUI\u4e2d\u6355\u6349\u56de\u8f66\u952e\u4e8b\u4ef6\uff1f<\/strong><br \/>\u5982\u679c\u4f60\u5728\u4f7f\u7528Python\u7684GUI\u5e93\uff08\u5982Tkinter\uff09\u8fdb\u884c\u5f00\u53d1\uff0c\u6355\u6349\u56de\u8f66\u952e\u4e8b\u4ef6\u53ef\u4ee5\u901a\u8fc7\u7ed1\u5b9a\u4e8b\u4ef6\u6765\u5b9e\u73b0\u3002\u5728Tkinter\u4e2d\uff0c\u53ef\u4ee5\u5c06\u56de\u8f66\u952e\u4e8b\u4ef6\u4e0e\u76f8\u5e94\u7684\u51fd\u6570\u5173\u8054\u3002\u4f7f\u7528<code>bind<\/code>\u65b9\u6cd5\u5c06\u56de\u8f66\u952e\u4e0e\u51fd\u6570\u7ed1\u5b9a\uff0c\u5f53\u7528\u6237\u5728\u8f93\u5165\u6846\u4e2d\u6309\u4e0b\u56de\u8f66\u952e\u65f6\uff0c\u6307\u5b9a\u7684\u51fd\u6570\u5c06\u88ab\u8c03\u7528\u3002\u8fd9\u6837\u53ef\u4ee5\u5b9e\u73b0\u5bf9\u7528\u6237\u8f93\u5165\u7684\u5b9e\u65f6\u5904\u7406\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u7528\u6237\u8f93\u5165\u56de\u8f66\u952e\u53ef\u4ee5\u901a\u8fc7\u68c0\u6d4b\u8f93\u5165\u5b57\u7b26\u4e32\u662f\u5426\u4e3a\u7a7a\u6765\u5b9e\u73b0\u3001\u4f7f\u7528 input() \u51fd\u6570\u6355\u6349\u7528\u6237\u8f93\u5165\u3001 [&hellip;]","protected":false},"author":3,"featured_media":1129758,"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\/1129749"}],"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=1129749"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1129749\/revisions"}],"predecessor-version":[{"id":1129760,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1129749\/revisions\/1129760"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1129758"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1129749"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1129749"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1129749"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}