{"id":1176889,"date":"2025-01-15T17:50:36","date_gmt":"2025-01-15T09:50:36","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1176889.html"},"modified":"2025-01-15T17:50:39","modified_gmt":"2025-01-15T09:50:39","slug":"python%e5%a6%82%e4%bd%95%e6%b8%85%e9%99%a4%e5%91%bd%e4%bb%a4%e8%a1%8c","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1176889.html","title":{"rendered":"python\u5982\u4f55\u6e05\u9664\u547d\u4ee4\u884c"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25111935\/7d559a51-e82f-4b64-85be-525eef199775.webp\" alt=\"python\u5982\u4f55\u6e05\u9664\u547d\u4ee4\u884c\" \/><\/p>\n<p><p> <strong>Python\u6e05\u9664\u547d\u4ee4\u884c\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff0c\u5e38\u89c1\u7684\u6709os.system(&#39;cls&#39; or &#39;clear&#39;)\u3001\u4f7f\u7528subprocess\u6a21\u5757\u3001\u5229\u7528Platform\u6a21\u5757\u5224\u65ad\u7cfb\u7edf\u7c7b\u578b\u540e\u6267\u884c\u5bf9\u5e94\u547d\u4ee4<\/strong>\u3002\u5176\u4e2d\uff0cos.system(&#39;cls&#39; or &#39;clear&#39;)\u662f\u6700\u7b80\u5355\u548c\u5e38\u7528\u7684\u65b9\u6cd5\u3002\u4e0b\u9762\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u79cd\u65b9\u6cd5\uff1a<\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528<code>os<\/code>\u6a21\u5757\u4e2d\u7684<code>system<\/code>\u51fd\u6570\u6765\u6267\u884c\u547d\u4ee4\u884c\u6307\u4ee4\u3002\u5bf9\u4e8eWindows\u7cfb\u7edf\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528<code>cls<\/code>\u547d\u4ee4\uff0c\u800c\u5bf9\u4e8eUnix\u7cfb\u7edf\uff08\u5305\u62ecLinux\u548cMac OS\uff09\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528<code>clear<\/code>\u547d\u4ee4\u3002\u901a\u8fc7\u5224\u65ad\u64cd\u4f5c\u7cfb\u7edf\u7c7b\u578b\uff0c\u9009\u62e9\u5408\u9002\u7684\u547d\u4ee4\u6765\u6e05\u9664\u547d\u4ee4\u884c\u3002\u5177\u4f53\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import os<\/p>\n<p>def clear_console():<\/p>\n<p>    # \u5224\u65ad\u64cd\u4f5c\u7cfb\u7edf\u7c7b\u578b<\/p>\n<p>    if os.name == &#39;nt&#39;:<\/p>\n<p>        # Windows\u7cfb\u7edf<\/p>\n<p>        os.system(&#39;cls&#39;)<\/p>\n<p>    else:<\/p>\n<p>        # Unix\u7cfb\u7edf<\/p>\n<p>        os.system(&#39;clear&#39;)<\/p>\n<h2><strong>\u8c03\u7528\u51fd\u6570\u6e05\u9664\u547d\u4ee4\u884c<\/strong><\/h2>\n<p>clear_console()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u51fd\u6570\u9996\u5148\u901a\u8fc7<code>os.name<\/code>\u6765\u5224\u65ad\u64cd\u4f5c\u7cfb\u7edf\u7c7b\u578b\uff0c\u5982\u679c\u662f<code>nt<\/code>\uff0c\u5219\u8868\u793aWindows\u7cfb\u7edf\uff0c\u4f7f\u7528<code>cls<\/code>\u547d\u4ee4\uff1b\u5426\u5219\uff0c\u4f7f\u7528<code>clear<\/code>\u547d\u4ee4\u3002\u8fd9\u4e2a\u65b9\u6cd5\u7b80\u5355\u4e14\u517c\u5bb9\u5927\u90e8\u5206\u7cfb\u7edf\uff0c\u662f\u6e05\u9664\u547d\u4ee4\u884c\u7684\u5e38\u7528\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<hr>\n<p><h3>\u4e00\u3001OS\u6a21\u5757<\/h3>\n<\/p>\n<p><p><strong>OS\u6a21\u5757\u662fPython\u6807\u51c6\u5e93\u7684\u4e00\u90e8\u5206\uff0c\u63d0\u4f9b\u4e86\u4e00\u4e9b\u4e0e\u64cd\u4f5c\u7cfb\u7edf\u4ea4\u4e92\u7684\u529f\u80fd\u3002\u5b83\u53ef\u4ee5\u6267\u884c\u7cfb\u7edf\u547d\u4ee4\u3001\u7ba1\u7406\u6587\u4ef6\u548c\u76ee\u5f55\u3001\u83b7\u53d6\u73af\u5883\u53d8\u91cf\u7b49<\/strong>\u3002\u5728\u6e05\u9664\u547d\u4ee4\u884c\u65b9\u9762\uff0cos\u6a21\u5757\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7b80\u5355\u7684\u65b9\u6cd5\uff0c\u5373\u4f7f\u7528<code>os.system<\/code>\u51fd\u6570\u6765\u6267\u884c\u7cfb\u7edf\u547d\u4ee4\u3002<\/p>\n<\/p>\n<p><h4>\u4f7f\u7528os.system(&#39;cls&#39; or &#39;clear&#39;)<\/h4>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u662f\u6700\u76f4\u63a5\u548c\u7b80\u5355\u7684\u3002\u901a\u8fc7\u8c03\u7528<code>os.system<\/code>\u51fd\u6570\uff0c\u53ef\u4ee5\u6267\u884c\u7cfb\u7edf\u547d\u4ee4\u3002\u5bf9\u4e8eWindows\u7cfb\u7edf\uff0c\u4f7f\u7528<code>cls<\/code>\u547d\u4ee4\u6e05\u9664\u547d\u4ee4\u884c\uff1b\u5bf9\u4e8eUnix\u7cfb\u7edf\uff0c\u4f7f\u7528<code>clear<\/code>\u547d\u4ee4\u6e05\u9664\u547d\u4ee4\u884c\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import os<\/p>\n<p>def clear_console():<\/p>\n<p>    if os.name == &#39;nt&#39;:<\/p>\n<p>        os.system(&#39;cls&#39;)<\/p>\n<p>    else:<\/p>\n<p>        os.system(&#39;clear&#39;)<\/p>\n<p>clear_console()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u7684\u4f18\u70b9\u662f\u7b80\u5355\u6613\u7528\uff0c\u4e0d\u9700\u8981\u989d\u5916\u7684\u5e93\u6216\u590d\u6742\u7684\u4ee3\u7801\u3002\u7f3a\u70b9\u662f\u4f9d\u8d56\u4e8e\u64cd\u4f5c\u7cfb\u7edf\u7684\u547d\u4ee4\uff0c\u5982\u679c\u64cd\u4f5c\u7cfb\u7edf\u4e0d\u652f\u6301\u8fd9\u4e9b\u547d\u4ee4\uff0c\u53ef\u80fd\u4f1a\u51fa\u73b0\u95ee\u9898\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001Subprocess\u6a21\u5757<\/h3>\n<\/p>\n<p><p><strong>Subprocess\u6a21\u5757\u662fPython\u6807\u51c6\u5e93\u7684\u4e00\u90e8\u5206\uff0c\u63d0\u4f9b\u4e86\u66f4\u5f3a\u5927\u7684\u529f\u80fd\u6765\u521b\u5efa\u548c\u7ba1\u7406\u5b50\u8fdb\u7a0b<\/strong>\u3002\u5b83\u53ef\u4ee5\u7528\u6765\u6267\u884c\u7cfb\u7edf\u547d\u4ee4\uff0c\u5e76\u4e14\u53ef\u4ee5\u6355\u83b7\u547d\u4ee4\u7684\u8f93\u51fa\u3001\u9519\u8bef\u4fe1\u606f\u7b49\u3002<\/p>\n<\/p>\n<p><h4>\u4f7f\u7528subprocess.call<\/h4>\n<\/p>\n<p><p>\u4e0e<code>os.system<\/code>\u7c7b\u4f3c\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528<code>subprocess.call<\/code>\u6765\u6267\u884c\u7cfb\u7edf\u547d\u4ee4\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import subprocess<\/p>\n<p>def clear_console():<\/p>\n<p>    if os.name == &#39;nt&#39;:<\/p>\n<p>        subprocess.call(&#39;cls&#39;, shell=True)<\/p>\n<p>    else:<\/p>\n<p>        subprocess.call(&#39;clear&#39;, shell=True)<\/p>\n<p>clear_console()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u4e0e<code>os.system<\/code>\u7c7b\u4f3c\uff0c\u4f46\u63d0\u4f9b\u4e86\u66f4\u591a\u7684\u529f\u80fd\u548c\u66f4\u597d\u7684\u9519\u8bef\u5904\u7406\u80fd\u529b\u3002\u7f3a\u70b9\u662f\u4ee3\u7801\u7a0d\u5fae\u590d\u6742\u4e00\u4e9b\uff0c\u4f46\u5bf9\u4e8e\u9700\u8981\u66f4\u591a\u63a7\u5236\u548c\u529f\u80fd\u7684\u573a\u666f\uff0csubprocess\u6a21\u5757\u662f\u4e00\u4e2a\u66f4\u597d\u7684\u9009\u62e9\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u5229\u7528Platform\u6a21\u5757\u5224\u65ad\u7cfb\u7edf\u7c7b\u578b<\/h3>\n<\/p>\n<p><p><strong>Platform\u6a21\u5757\u662fPython\u6807\u51c6\u5e93\u7684\u4e00\u90e8\u5206\uff0c\u63d0\u4f9b\u4e86\u4e00\u4e9b\u51fd\u6570\u6765\u83b7\u53d6\u64cd\u4f5c\u7cfb\u7edf\u7684\u4fe1\u606f<\/strong>\u3002\u901a\u8fc7\u4f7f\u7528platform\u6a21\u5757\uff0c\u4f60\u53ef\u4ee5\u66f4\u7cbe\u786e\u5730\u5224\u65ad\u64cd\u4f5c\u7cfb\u7edf\u7c7b\u578b\uff0c\u5e76\u9009\u62e9\u5408\u9002\u7684\u547d\u4ee4\u6765\u6e05\u9664\u547d\u4ee4\u884c\u3002<\/p>\n<\/p>\n<p><h4>\u4f7f\u7528platform.system()<\/h4>\n<\/p>\n<p><p>\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\u4ee3\u7801\uff0c\u4f7f\u7528platform\u6a21\u5757\u6765\u5224\u65ad\u64cd\u4f5c\u7cfb\u7edf\u7c7b\u578b\uff0c\u5e76\u9009\u62e9\u5408\u9002\u7684\u547d\u4ee4\u6765\u6e05\u9664\u547d\u4ee4\u884c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import os<\/p>\n<p>import platform<\/p>\n<p>def clear_console():<\/p>\n<p>    system_type = platform.system()<\/p>\n<p>    if system_type == &#39;Windows&#39;:<\/p>\n<p>        os.system(&#39;cls&#39;)<\/p>\n<p>    else:<\/p>\n<p>        os.system(&#39;clear&#39;)<\/p>\n<p>clear_console()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u7684\u4f18\u70b9\u662f\u53ef\u4ee5\u66f4\u7cbe\u786e\u5730\u5224\u65ad\u64cd\u4f5c\u7cfb\u7edf\u7c7b\u578b\uff0c\u4e0d\u4ec5\u9650\u4e8eWindows\u548cUnix\u7cfb\u7edf\u3002\u7f3a\u70b9\u662f\u9700\u8981\u989d\u5916\u5bfc\u5165platform\u6a21\u5757\uff0c\u4f46\u5bf9\u4e8e\u9700\u8981\u652f\u6301\u66f4\u591a\u64cd\u4f5c\u7cfb\u7edf\u7684\u573a\u666f\uff0c\u8fd9\u79cd\u65b9\u6cd5\u662f\u4e00\u4e2a\u66f4\u597d\u7684\u9009\u62e9\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u5176\u4ed6\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>\u9664\u4e86\u4e0a\u8ff0\u65b9\u6cd5\uff0c\u8fd8\u6709\u4e00\u4e9b\u5176\u4ed6\u65b9\u6cd5\u53ef\u4ee5\u7528\u6765\u6e05\u9664\u547d\u4ee4\u884c\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><h4>\u4f7f\u7528print\u8f93\u51fa\u6362\u884c\u7b26<\/h4>\n<\/p>\n<p><p>\u901a\u8fc7\u8f93\u51fa\u5927\u91cf\u6362\u884c\u7b26\uff0c\u53ef\u4ee5\u5c06\u4e4b\u524d\u7684\u547d\u4ee4\u884c\u5185\u5bb9\u201c\u63a8\u201d\u5230\u5c4f\u5e55\u4e4b\u5916\uff0c\u4ece\u800c\u5b9e\u73b0\u6e05\u9664\u547d\u4ee4\u884c\u7684\u6548\u679c\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def clear_console():<\/p>\n<p>    print(&quot;\\n&quot; * 100)<\/p>\n<p>clear_console()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u7b80\u5355\u6613\u7528\uff0c\u4f46\u6548\u679c\u4e0d\u5982\u76f4\u63a5\u4f7f\u7528\u7cfb\u7edf\u547d\u4ee4\u3002\u9002\u7528\u4e8e\u7b80\u5355\u7684\u573a\u666f\uff0c\u4f46\u4e0d\u9002\u7528\u4e8e\u9700\u8981\u4e25\u683c\u6e05\u9664\u547d\u4ee4\u884c\u5185\u5bb9\u7684\u573a\u666f\u3002<\/p>\n<\/p>\n<p><h4>\u4f7f\u7528ANSI\u8f6c\u4e49\u5e8f\u5217<\/h4>\n<\/p>\n<p><p>\u5bf9\u4e8e\u652f\u6301ANSI\u8f6c\u4e49\u5e8f\u5217\u7684\u7ec8\u7aef\uff0c\u53ef\u4ee5\u4f7f\u7528ANSI\u8f6c\u4e49\u5e8f\u5217\u6765\u6e05\u9664\u547d\u4ee4\u884c\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def clear_console():<\/p>\n<p>    print(&quot;\\033c&quot;, end=&quot;&quot;)<\/p>\n<p>clear_console()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u4e0d\u4f9d\u8d56\u4e8e\u64cd\u4f5c\u7cfb\u7edf\u547d\u4ee4\uff0c\u4f46\u9700\u8981\u7ec8\u7aef\u652f\u6301ANSI\u8f6c\u4e49\u5e8f\u5217\u3002\u9002\u7528\u4e8e\u9700\u8981\u8de8\u5e73\u53f0\u652f\u6301\u7684\u573a\u666f\uff0c\u4f46\u9700\u8981\u786e\u4fdd\u7ec8\u7aef\u652f\u6301\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u6709\u591a\u79cd\u65b9\u6cd5\u53ef\u4ee5\u7528\u6765\u6e05\u9664\u547d\u4ee4\u884c\u3002\u6700\u5e38\u89c1\u548c\u7b80\u5355\u7684\u65b9\u6cd5\u662f\u4f7f\u7528<code>os.system(&#39;cls&#39; or &#39;clear&#39;)<\/code>\uff0c\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u5927\u90e8\u5206\u573a\u666f\u3002\u5bf9\u4e8e\u9700\u8981\u66f4\u591a\u63a7\u5236\u548c\u529f\u80fd\u7684\u573a\u666f\uff0c\u53ef\u4ee5\u4f7f\u7528subprocess\u6a21\u5757\u3002\u5bf9\u4e8e\u9700\u8981\u652f\u6301\u66f4\u591a\u64cd\u4f5c\u7cfb\u7edf\u7684\u573a\u666f\uff0c\u53ef\u4ee5\u4f7f\u7528platform\u6a21\u5757\u3002\u5176\u4ed6\u65b9\u6cd5\u5982\u8f93\u51fa\u6362\u884c\u7b26\u548c\u4f7f\u7528ANSI\u8f6c\u4e49\u5e8f\u5217\u4e5f\u53ef\u4ee5\u5728\u7279\u5b9a\u573a\u666f\u4e2d\u4f7f\u7528\u3002<\/p>\n<\/p>\n<p><p>\u603b\u4e4b\uff0c\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u6e05\u9664\u547d\u4ee4\u884c\u5185\u5bb9\u3002\u5e0c\u671b\u672c\u6587\u5bf9\u4f60\u7406\u89e3\u548c\u4f7f\u7528Python\u6e05\u9664\u547d\u4ee4\u884c\u7684\u65b9\u6cd5\u6709\u6240\u5e2e\u52a9\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5728\u4f7f\u7528Python\u65f6\uff0c\u5982\u4f55\u5728\u547d\u4ee4\u884c\u4e2d\u6e05\u9664\u5c4f\u5e55\uff1f<\/strong><br \/>\u53ef\u4ee5\u901a\u8fc7\u8c03\u7528\u7cfb\u7edf\u547d\u4ee4\u6765\u6e05\u9664\u5c4f\u5e55\u3002\u5728Windows\u7cfb\u7edf\u4e0a\uff0c\u53ef\u4ee5\u4f7f\u7528<code>os.system(&#39;cls&#39;)<\/code>\uff1b\u800c\u5728\u7c7bUnix\u7cfb\u7edf\u4e0a\uff08\u5982Linux\u6216macOS\uff09\uff0c\u5219\u4f7f\u7528<code>os.system(&#39;clear&#39;)<\/code>\u3002\u786e\u4fdd\u5728\u811a\u672c\u7684\u5f00\u5934\u5bfc\u5165<code>os<\/code>\u6a21\u5757\uff0c\u4ee5\u4fbf\u80fd\u591f\u6267\u884c\u7cfb\u7edf\u547d\u4ee4\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u662f\u5426\u6709\u8de8\u5e73\u53f0\u7684\u65b9\u6cd5\u6765\u6e05\u9664\u547d\u4ee4\u884c\uff1f<\/strong><br \/>\u662f\u7684\uff0c\u53ef\u4ee5\u7f16\u5199\u4e00\u4e2a\u51fd\u6570\uff0c\u6839\u636e\u64cd\u4f5c\u7cfb\u7edf\u7684\u4e0d\u540c\u6765\u6e05\u9664\u547d\u4ee4\u884c\u3002\u53ef\u4ee5\u4f7f\u7528<code>platform<\/code>\u6a21\u5757\u6765\u68c0\u6d4b\u64cd\u4f5c\u7cfb\u7edf\u7c7b\u578b\uff0c\u5e76\u9009\u62e9\u76f8\u5e94\u7684\u547d\u4ee4\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a<code>clear_screen()<\/code>\u7684\u51fd\u6570\uff0c\u5224\u65ad\u5f53\u524d\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5e76\u8c03\u7528\u9002\u5f53\u7684\u6e05\u9664\u547d\u4ee4\u3002<\/p>\n<p><strong>\u4f7f\u7528Python\u6e05\u9664\u547d\u4ee4\u884c\u65f6\uff0c\u662f\u5426\u9700\u8981\u8003\u8651\u73af\u5883\u53d8\u91cf\uff1f<\/strong><br \/>\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c\u6e05\u9664\u547d\u4ee4\u884c\u4e0d\u9700\u8981\u7279\u522b\u8003\u8651\u73af\u5883\u53d8\u91cf\u3002\u7136\u800c\uff0c\u67d0\u4e9b\u7279\u5b9a\u7684\u73af\u5883\u6216\u7ec8\u7aef\u914d\u7f6e\u53ef\u80fd\u4f1a\u5f71\u54cd\u547d\u4ee4\u7684\u6267\u884c\u3002\u4e3a\u4e86\u786e\u4fdd\u6e05\u9664\u547d\u4ee4\u884c\u7684\u6548\u679c\uff0c\u5efa\u8bae\u5728\u6807\u51c6\u7ec8\u7aef\u4e2d\u8fd0\u884c\u76f8\u5173Python\u811a\u672c\uff0c\u907f\u514d\u5728\u67d0\u4e9bIDE\u4e2d\u53ef\u80fd\u5b58\u5728\u7684\u517c\u5bb9\u6027\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u6e05\u9664\u547d\u4ee4\u884c\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff0c\u5e38\u89c1\u7684\u6709os.system(&#39;cls&#39; or &#39;c [&hellip;]","protected":false},"author":3,"featured_media":1176897,"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\/1176889"}],"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=1176889"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1176889\/revisions"}],"predecessor-version":[{"id":1176899,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1176889\/revisions\/1176899"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1176897"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1176889"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1176889"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1176889"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}