{"id":980956,"date":"2024-12-27T06:58:34","date_gmt":"2024-12-26T22:58:34","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/980956.html"},"modified":"2024-12-27T06:58:36","modified_gmt":"2024-12-26T22:58:36","slug":"python%e5%a6%82%e4%bd%95%e5%be%aa%e7%8e%af%e5%88%86%e8%a1%8c%e8%be%93%e5%85%a5","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/980956.html","title":{"rendered":"python\u5982\u4f55\u5faa\u73af\u5206\u884c\u8f93\u5165"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24210125\/704d21fa-410f-4c83-9a19-db928f69daed.webp\" alt=\"python\u5982\u4f55\u5faa\u73af\u5206\u884c\u8f93\u5165\" \/><\/p>\n<p><p> <strong>\u8981\u5728Python\u4e2d\u5faa\u73af\u5206\u884c\u8f93\u5165\uff0c\u53ef\u4ee5\u4f7f\u7528<code>for<\/code>\u5faa\u73af\u3001<code>while<\/code>\u5faa\u73af\u3001<code>input()<\/code>\u51fd\u6570\u7b49\u3002\u901a\u8fc7\u5faa\u73af\u7ed3\u6784\u53ef\u4ee5\u6709\u6548\u8bfb\u53d6\u591a\u884c\u6570\u636e\uff0c\u5c06\u6bcf\u884c\u6570\u636e\u5b58\u50a8\u5728\u5217\u8868\u6216\u5176\u4ed6\u6570\u636e\u7ed3\u6784\u4e2d\uff0c\u4fbf\u4e8e\u540e\u7eed\u5904\u7406\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528<code>while<\/code>\u5faa\u73af\u6765\u6301\u7eed\u63a5\u6536\u8f93\u5165\uff0c\u76f4\u5230\u8fbe\u5230\u67d0\u4e2a\u6761\u4ef6\u6216\u8f93\u5165\u7279\u5b9a\u5b57\u7b26\u505c\u6b62\u3002\u8fd9\u79cd\u65b9\u6cd5\u975e\u5e38\u9002\u5408\u9700\u8981\u5904\u7406\u4e0d\u5b9a\u6570\u91cf\u8f93\u5165\u6570\u636e\u7684\u573a\u666f\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\u5904\u7406\u5faa\u73af\u5206\u884c\u8f93\u5165\u65f6\uff0c\u6700\u5e38\u89c1\u7684\u65b9\u6cd5\u662f\u5229\u7528<code>while<\/code>\u5faa\u73af\u7ed3\u5408<code>input()<\/code>\u51fd\u6570\uff0c\u5141\u8bb8\u7528\u6237\u8f93\u5165\u591a\u884c\u6570\u636e\uff0c\u76f4\u81f3\u6ee1\u8db3\u67d0\u4e2a\u6761\u4ef6\u6765\u7ed3\u675f\u8f93\u5165\u8fc7\u7a0b\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u63a2\u8ba8\u4e00\u4e9b\u5b9e\u73b0\u8fd9\u79cd\u529f\u80fd\u7684\u5177\u4f53\u65b9\u6cd5\u548c\u6280\u5de7\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528<code>while<\/code>\u5faa\u73af\u5b9e\u73b0\u5faa\u73af\u8f93\u5165<\/h3>\n<\/p>\n<p><p><code>while<\/code>\u5faa\u73af\u662fPython\u4e2d\u5b9e\u73b0\u5faa\u73af\u8f93\u5165\u7684\u5e38\u7528\u65b9\u5f0f\u3002\u901a\u8fc7\u8bbe\u5b9a\u4e00\u4e2a\u6807\u5fd7\u4f4d\u6216\u7279\u5b9a\u8f93\u5165\u6765\u63a7\u5236\u5faa\u73af\u7684\u7ed3\u675f\uff0c\u53ef\u4ee5\u7075\u6d3b\u5b9e\u73b0\u591a\u884c\u8f93\u5165\u3002<\/p>\n<\/p>\n<p><h4>1. \u57fa\u672c\u5b9e\u73b0<\/h4>\n<\/p>\n<p><p>\u4e00\u4e2a\u7b80\u5355\u7684\u5b9e\u73b0\u65b9\u5f0f\u662f\u4f7f\u7528<code>while<\/code>\u5faa\u73af\u6301\u7eed\u8c03\u7528<code>input()<\/code>\u51fd\u6570\uff0c\u5141\u8bb8\u7528\u6237\u8f93\u5165\u6570\u636e\uff0c\u5e76\u5728\u6ee1\u8db3\u6761\u4ef6\u65f6\u7ed3\u675f\u5faa\u73af\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">inputs = []<\/p>\n<p>print(&quot;Enter your inputs (type &#39;exit&#39; to finish):&quot;)<\/p>\n<p>while True:<\/p>\n<p>    user_input = input()<\/p>\n<p>    if user_input.lower() == &#39;exit&#39;:<\/p>\n<p>        break<\/p>\n<p>    inputs.append(user_input)<\/p>\n<p>print(&quot;You entered:&quot;)<\/p>\n<p>for line in inputs:<\/p>\n<p>    print(line)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u7528\u6237\u88ab\u63d0\u793a\u8f93\u5165\u6570\u636e\uff0c\u5e76\u5728\u8f93\u5165&#39;exit&#39;\u65f6\u7ec8\u6b62\u5faa\u73af\u3002\u7528\u6237\u8f93\u5165\u7684\u6570\u636e\u88ab\u5b58\u50a8\u5728\u4e00\u4e2a\u5217\u8868\u4e2d\uff0c\u5faa\u73af\u7ed3\u675f\u540e\u53ef\u4ee5\u8fdb\u4e00\u6b65\u5904\u7406\u6216\u8f93\u51fa\u3002<\/p>\n<\/p>\n<p><h4>2. \u4f7f\u7528\u6807\u5fd7\u4f4d\u63a7\u5236<\/h4>\n<\/p>\n<p><p>\u9664\u4e86\u76f4\u63a5\u5224\u65ad\u8f93\u5165\u5185\u5bb9\u5916\uff0c\u8fd8\u53ef\u4ee5\u4f7f\u7528\u4e00\u4e2a\u6807\u5fd7\u4f4d\u6765\u63a7\u5236\u5faa\u73af\u7684\u6267\u884c\u3002\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u9700\u8981\u66f4\u590d\u6742\u6761\u4ef6\u6765\u63a7\u5236\u5faa\u73af\u7684\u573a\u666f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">inputs = []<\/p>\n<p>collecting = True<\/p>\n<p>print(&quot;Start entering your inputs (type &#39;stop&#39; to end):&quot;)<\/p>\n<p>while collecting:<\/p>\n<p>    user_input = input()<\/p>\n<p>    if user_input.lower() == &#39;stop&#39;:<\/p>\n<p>        collecting = False<\/p>\n<p>    else:<\/p>\n<p>        inputs.append(user_input)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c<code>collecting<\/code>\u662f\u4e00\u4e2a\u5e03\u5c14\u53d8\u91cf\uff0c\u63a7\u5236<code>while<\/code>\u5faa\u73af\u7684\u6267\u884c\u3002\u8fd9\u6837\u53ef\u4ee5\u6839\u636e\u9700\u8981\u5728\u5faa\u73af\u4e2d\u5b9e\u73b0\u66f4\u590d\u6742\u7684\u903b\u8f91\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528<code>for<\/code>\u5faa\u73af\u4e0e\u5217\u8868\u63a8\u5bfc\u5f0f<\/h3>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u8f93\u5165\u7684\u6b21\u6570\u662f\u5df2\u77e5\u7684\uff0c\u53ef\u4ee5\u4f7f\u7528<code>for<\/code>\u5faa\u73af\u6765\u5b9e\u73b0\u591a\u884c\u8f93\u5165\u3002\u7ed3\u5408\u5217\u8868\u63a8\u5bfc\u5f0f\uff0c\u53ef\u4ee5\u7b80\u5316\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><h4>1. \u56fa\u5b9a\u6b21\u6570\u8f93\u5165<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u77e5\u9053\u9700\u8981\u8f93\u5165\u7684\u884c\u6570\uff0c\u53ef\u4ee5\u4f7f\u7528<code>for<\/code>\u5faa\u73af\u6765\u9650\u5236\u8f93\u5165\u6b21\u6570\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">num_lines = 3<\/p>\n<p>inputs = [input(f&quot;Enter line {i+1}: &quot;) for i in range(num_lines)]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u9700\u8981\u56fa\u5b9a\u6570\u91cf\u8f93\u5165\u7684\u60c5\u666f\uff0c\u5982\u8bfb\u53d6\u7279\u5b9a\u6570\u91cf\u7684\u6570\u636e\u884c\u3002<\/p>\n<\/p>\n<p><h4>2. \u5217\u8868\u63a8\u5bfc\u5f0f<\/h4>\n<\/p>\n<p><p>\u5217\u8868\u63a8\u5bfc\u5f0f\u53ef\u4ee5\u7528\u4e8e\u7b80\u5316\u5faa\u73af\u8f93\u5165\u7684\u8fc7\u7a0b\uff0c\u5c24\u5176\u662f\u5728\u9700\u8981\u5bf9\u8f93\u5165\u8fdb\u884c\u7b80\u5355\u5904\u7406\u65f6\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">inputs = [input(&quot;Enter something: &quot;).strip() for _ in range(5)]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u7528\u6237\u9700\u8981\u8f93\u5165\u4e94\u884c\u6570\u636e\uff0c\u6bcf\u884c\u6570\u636e\u4f1a\u53bb\u9664\u9996\u5c3e\u7a7a\u767d\u5b57\u7b26\u540e\u5b58\u50a8\u5230\u5217\u8868\u4e2d\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528\u6587\u4ef6\u8f93\u5165\u6a21\u62df\u591a\u884c\u8f93\u5165<\/h3>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u5e94\u7528\u573a\u666f\u4e2d\uff0c\u8f93\u5165\u6570\u636e\u53ef\u80fd\u6765\u81ea\u6587\u4ef6\u3002\u4f7f\u7528Python\u7684\u6587\u4ef6\u5904\u7406\u529f\u80fd\uff0c\u53ef\u4ee5\u6a21\u62df\u591a\u884c\u8f93\u5165\u3002<\/p>\n<\/p>\n<p><h4>1. \u4ece\u6587\u4ef6\u8bfb\u53d6<\/h4>\n<\/p>\n<p><p>\u901a\u8fc7<code>open()<\/code>\u51fd\u6570\u53ef\u4ee5\u6253\u5f00\u5e76\u8bfb\u53d6\u6587\u4ef6\u4e2d\u7684\u591a\u884c\u6570\u636e\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">file_path = &#39;input.txt&#39;<\/p>\n<p>inputs = []<\/p>\n<p>with open(file_path, &#39;r&#39;) as file:<\/p>\n<p>    for line in file:<\/p>\n<p>        inputs.append(line.strip())<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u6570\u636e\u5df2\u7ecf\u4fdd\u5b58\u5728\u6587\u4ef6\u4e2d\u7684\u60c5\u51b5\uff0c\u5e76\u9700\u8981\u5728\u7a0b\u5e8f\u4e2d\u5bf9\u5176\u8fdb\u884c\u5904\u7406\u3002<\/p>\n<\/p>\n<p><h4>2. \u6570\u636e\u5904\u7406<\/h4>\n<\/p>\n<p><p>\u8bfb\u53d6\u6570\u636e\u540e\uff0c\u53ef\u4ee5\u5bf9\u6570\u636e\u8fdb\u884c\u4e00\u7cfb\u5217\u5904\u7406\uff0c\u6bd4\u5982\u7edf\u8ba1\u3001\u8fc7\u6ee4\u6216\u8f6c\u6362\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">processed_data = [line.upper() for line in inputs if line]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6570\u636e\u88ab\u8f6c\u6362\u4e3a\u5927\u5199\uff0c\u5e76\u4e14\u8fc7\u6ee4\u6389\u4e86\u7a7a\u884c\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u7ed3\u5408<code>sys.stdin<\/code>\u5b9e\u73b0\u9ad8\u7ea7\u8f93\u5165\u63a7\u5236<\/h3>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u590d\u6742\u5e94\u7528\u4e2d\uff0c\u5c24\u5176\u662f\u9700\u8981\u5904\u7406\u6807\u51c6\u8f93\u5165\u6d41\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528<code>sys.stdin<\/code>\u6765\u63a5\u6536\u591a\u884c\u8f93\u5165\u3002<\/p>\n<\/p>\n<p><h4>1. \u4ece\u6807\u51c6\u8f93\u5165\u8bfb\u53d6<\/h4>\n<\/p>\n<p><p>\u901a\u8fc7<code>sys.stdin<\/code>\u53ef\u4ee5\u76f4\u63a5\u4ece\u6807\u51c6\u8f93\u5165\u6d41\u4e2d\u8bfb\u53d6\u6570\u636e\uff0c\u8fd9\u5728\u5904\u7406\u547d\u4ee4\u884c\u8f93\u5165\u6216\u7ba1\u9053\u8f93\u5165\u65f6\u975e\u5e38\u6709\u7528\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import sys<\/p>\n<p>inputs = sys.stdin.read().splitlines()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u9700\u8981\u4ece\u6807\u51c6\u8f93\u5165\u6d41\u4e2d\u6279\u91cf\u8bfb\u53d6\u6570\u636e\u7684\u573a\u666f\u3002<\/p>\n<\/p>\n<p><h4>2. \u7ed3\u5408\u5176\u4ed6\u5de5\u5177<\/h4>\n<\/p>\n<p><p>\u53ef\u4ee5\u7ed3\u5408\u5176\u4ed6\u547d\u4ee4\u884c\u5de5\u5177\u6216\u811a\u672c\u5b9e\u73b0\u590d\u6742\u7684\u6570\u636e\u8f93\u5165\u548c\u5904\u7406\u6d41\u7a0b\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u901a\u8fc7<code>cat<\/code>\u547d\u4ee4\u5c06\u6587\u4ef6\u5185\u5bb9\u901a\u8fc7\u7ba1\u9053\u4f20\u9012\u7ed9Python\u811a\u672c\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u603b\u7ed3\u4e0e\u5efa\u8bae<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\u5b9e\u73b0\u5faa\u73af\u5206\u884c\u8f93\u5165\u6709\u591a\u79cd\u65b9\u6cd5\uff0c\u5177\u4f53\u9009\u62e9\u53d6\u51b3\u4e8e\u5e94\u7528\u573a\u666f\u548c\u9700\u6c42\u3002\u5bf9\u4e8e\u7b80\u5355\u7684\u591a\u884c\u8f93\u5165\uff0c<code>while<\/code>\u5faa\u73af\u7ed3\u5408<code>input()<\/code>\u51fd\u6570\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\uff1b\u5f53\u8f93\u5165\u6570\u91cf\u5df2\u77e5\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528<code>for<\/code>\u5faa\u73af\uff1b\u800c\u9700\u8981\u5904\u7406\u6587\u4ef6\u6216\u6807\u51c6\u8f93\u5165\u6d41\u65f6\uff0c<code>sys.stdin<\/code>\u548c\u6587\u4ef6\u64cd\u4f5c\u662f\u7406\u60f3\u7684\u9009\u62e9\u3002<\/p>\n<\/p>\n<p><p>\u5728\u5b9e\u73b0\u5faa\u73af\u5206\u884c\u8f93\u5165\u65f6\uff0c\u5e94\u6ce8\u610f\u8f93\u5165\u6570\u636e\u7684\u683c\u5f0f\u548c\u5904\u7406\u65b9\u5f0f\uff0c\u786e\u4fdd\u7a0b\u5e8f\u7684\u5065\u58ee\u6027\u548c\u53ef\u9760\u6027\u3002\u901a\u8fc7\u5408\u7406\u7684\u4ee3\u7801\u7ed3\u6784\u548c\u9519\u8bef\u5904\u7406\uff0c\u53ef\u4ee5\u6709\u6548\u63d0\u9ad8\u7a0b\u5e8f\u7684\u53ef\u7ef4\u62a4\u6027\u548c\u53ef\u8bfb\u6027\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5b9e\u73b0\u5faa\u73af\u5206\u884c\u8f93\u5165\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>while<\/code>\u5faa\u73af\u7ed3\u5408<code>input()<\/code>\u51fd\u6570\u6765\u5b9e\u73b0\u5faa\u73af\u5206\u884c\u8f93\u5165\u3002\u7528\u6237\u53ef\u4ee5\u5728\u6bcf\u4e00\u884c\u8f93\u5165\u5185\u5bb9\uff0c\u76f4\u5230\u8f93\u5165\u7279\u5b9a\u7684\u7ed3\u675f\u6807\u5fd7\uff08\u4f8b\u5982\u7a7a\u884c\u6216\u7279\u5b9a\u5b57\u7b26\uff09\uff0c\u7a0b\u5e8f\u4f1a\u505c\u6b62\u63a5\u6536\u8f93\u5165\u3002\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"language-python\">lines = []\nwhile True:\n    line = input(&quot;\u8bf7\u8f93\u5165\u4e00\u884c\u5185\u5bb9\uff08\u8f93\u5165\u7a7a\u884c\u7ed3\u675f\uff09\uff1a&quot;)\n    if line == &quot;&quot;:\n        break\n    lines.append(line)\nprint(&quot;\u60a8\u8f93\u5165\u7684\u5185\u5bb9\u662f\uff1a&quot;)\nfor line in lines:\n    print(line)\n<\/code><\/pre>\n<p><strong>\u5982\u4f55\u5904\u7406\u591a\u884c\u8f93\u5165\u5e76\u5c06\u5176\u5b58\u50a8\u4e3a\u5217\u8868\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u5217\u8868\u6765\u5b58\u50a8\u591a\u884c\u8f93\u5165\u3002\u901a\u8fc7\u4e0a\u8ff0\u5faa\u73af\u7ed3\u6784\uff0c\u7528\u6237\u53ef\u4ee5\u8f93\u5165\u591a\u884c\u6587\u672c\uff0c\u6240\u6709\u7684\u8f93\u5165\u5c06\u5b58\u50a8\u5728\u4e00\u4e2a\u5217\u8868\u4e2d\u3002\u53ef\u4ee5\u5728\u8f93\u5165\u7ed3\u675f\u540e\uff0c\u5bf9\u5217\u8868\u4e2d\u7684\u5185\u5bb9\u8fdb\u884c\u5904\u7406\u6216\u8f93\u51fa\u3002\u8fd9\u6837\u53ef\u4ee5\u65b9\u4fbf\u5730\u7ba1\u7406\u548c\u4f7f\u7528\u7528\u6237\u7684\u8f93\u5165\u6570\u636e\u3002<\/p>\n<p><strong>\u5982\u4f55\u786e\u4fdd\u7528\u6237\u8f93\u5165\u7684\u6709\u6548\u6027\uff1f<\/strong><br \/>\u5728\u8fdb\u884c\u5faa\u73af\u5206\u884c\u8f93\u5165\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7\u6761\u4ef6\u8bed\u53e5\u6765\u68c0\u67e5\u8f93\u5165\u7684\u6709\u6548\u6027\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u8981\u6c42\u7528\u6237\u8f93\u5165\u7279\u5b9a\u683c\u5f0f\u7684\u6570\u636e\uff0c\u6216\u9650\u5236\u8f93\u5165\u7684\u5b57\u7b26\u7c7b\u578b\u3002\u5982\u679c\u7528\u6237\u8f93\u5165\u4e0d\u7b26\u5408\u8981\u6c42\uff0c\u53ef\u4ee5\u63d0\u793a\u9519\u8bef\u4fe1\u606f\u5e76\u8981\u6c42\u91cd\u65b0\u8f93\u5165\u3002\u8fd9\u6837\u53ef\u4ee5\u63d0\u9ad8\u7a0b\u5e8f\u7684\u5065\u58ee\u6027\u548c\u7528\u6237\u4f53\u9a8c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u5728Python\u4e2d\u5faa\u73af\u5206\u884c\u8f93\u5165\uff0c\u53ef\u4ee5\u4f7f\u7528for\u5faa\u73af\u3001while\u5faa\u73af\u3001input()\u51fd\u6570\u7b49\u3002\u901a\u8fc7\u5faa\u73af\u7ed3\u6784\u53ef\u4ee5\u6709\u6548 [&hellip;]","protected":false},"author":3,"featured_media":980965,"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\/980956"}],"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=980956"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/980956\/revisions"}],"predecessor-version":[{"id":980967,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/980956\/revisions\/980967"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/980965"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=980956"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=980956"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=980956"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}