{"id":1134183,"date":"2025-01-08T21:13:31","date_gmt":"2025-01-08T13:13:31","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1134183.html"},"modified":"2025-01-08T21:13:34","modified_gmt":"2025-01-08T13:13:34","slug":"python%e4%b8%ad%e5%a6%82%e4%bd%95%e8%bf%90%e8%a1%8c%e4%b8%80%e4%b8%aa%e6%96%87%e4%bb%b6%e6%a0%bc%e5%bc%8f","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1134183.html","title":{"rendered":"python\u4e2d\u5982\u4f55\u8fd0\u884c\u4e00\u4e2a\u6587\u4ef6\u683c\u5f0f"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25103212\/a7d08664-f9be-4419-b6fa-6f734e365090.webp\" alt=\"python\u4e2d\u5982\u4f55\u8fd0\u884c\u4e00\u4e2a\u6587\u4ef6\u683c\u5f0f\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u8fd0\u884c\u4e00\u4e2a\u6587\u4ef6\u7684\u65b9\u6cd5\u5305\u62ec\u4ee5\u4e0b\u51e0\u79cd\uff1a\u4f7f\u7528\u547d\u4ee4\u884c\u3001\u4f7f\u7528IDE\u3001\u4f7f\u7528\u811a\u672c\u8c03\u7528\u3001\u4f7f\u7528\u6a21\u5757\u5bfc\u5165<\/strong>\u3002\u5176\u4e2d<strong>\u4f7f\u7528\u547d\u4ee4\u884c<\/strong>\u662f\u4e00\u79cd\u975e\u5e38\u5e38\u89c1\u4e14\u7b80\u5355\u7684\u65b9\u6cd5\uff0c\u9002\u5408\u521d\u5b66\u8005\u548c\u5feb\u901f\u6d4b\u8bd5\u4ee3\u7801\u3002\u5177\u4f53\u64cd\u4f5c\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><p>\u5728\u547d\u4ee4\u884c\u4e2d\u8fd0\u884cPython\u6587\u4ef6\uff0c\u53ea\u9700\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\u6216\u7ec8\u7aef\uff0c\u7136\u540e\u5bfc\u822a\u5230\u5305\u542bPython\u6587\u4ef6\u7684\u76ee\u5f55\uff0c\u8f93\u5165<code>python \u6587\u4ef6\u540d.py<\/code>\u5373\u53ef\u3002\u4f8b\u5982\uff0c\u5982\u679c\u4f60\u7684\u6587\u4ef6\u540d\u662f<code>example.py<\/code>\uff0c\u90a3\u4e48\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165<code>python example.py<\/code>\u5e76\u6309\u4e0b\u56de\u8f66\u952e\u5373\u53ef\u8fd0\u884c\u8be5\u6587\u4ef6\u3002\u786e\u4fdd\u5728\u8fd0\u884c\u524d\u5df2\u7ecf\u5b89\u88c5\u4e86Python\u89e3\u91ca\u5668\uff0c\u5e76\u4e14\u5c06\u5176\u8def\u5f84\u6dfb\u52a0\u5230\u7cfb\u7edf\u7684\u73af\u5883\u53d8\u91cf\u4e2d\u3002<\/p>\n<\/p>\n<hr>\n<p><h3>\u4e00\u3001\u4f7f\u7528\u547d\u4ee4\u884c\u8fd0\u884cPython\u6587\u4ef6<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528\u547d\u4ee4\u884c\u8fd0\u884cPython\u6587\u4ef6\u662f\u6700\u76f4\u63a5\u7684\u65b9\u6cd5\u3002\u4ee5\u4e0b\u662f\u5177\u4f53\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\u6216\u7ec8\u7aef<\/strong>\uff1a\u5728Windows\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u6309<code>Win + R<\/code>\uff0c\u8f93\u5165<code>cmd<\/code>\u5e76\u6309\u4e0b\u56de\u8f66\u952e\u6765\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\u3002\u5728MacOS\u548cLinux\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u5feb\u6377\u952e<code>Ctrl + Alt + T<\/code>\u6253\u5f00\u7ec8\u7aef\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5bfc\u822a\u5230\u6587\u4ef6\u76ee\u5f55<\/strong>\uff1a\u4f7f\u7528<code>cd<\/code>\u547d\u4ee4\u8fdb\u5165\u5b58\u653ePython\u6587\u4ef6\u7684\u76ee\u5f55\u3002\u4f8b\u5982\uff0c\u5982\u679c\u6587\u4ef6\u4f4d\u4e8e<code>C:\\Users\\YourName\\Documents<\/code>\u4e2d\uff0c\u53ef\u4ee5\u8f93\u5165<code>cd C:\\Users\\YourName\\Documents<\/code>\u5e76\u6309\u4e0b\u56de\u8f66\u952e\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8fd0\u884c\u6587\u4ef6<\/strong>\uff1a\u8f93\u5165<code>python \u6587\u4ef6\u540d.py<\/code>\uff0c\u4f8b\u5982<code>python example.py<\/code>\uff0c\u5e76\u6309\u4e0b\u56de\u8f66\u952e\u3002\u5982\u679c\u6587\u4ef6\u4e2d\u6ca1\u6709\u8bed\u6cd5\u9519\u8bef\uff0cPython\u89e3\u91ca\u5668\u5c06\u6267\u884c\u5176\u4e2d\u7684\u4ee3\u7801\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u6b64\u65b9\u6cd5\u7684\u4f18\u52bf\u5728\u4e8e\u5176\u7b80\u5355\u76f4\u63a5\uff0c\u4f46\u5728\u5b9e\u9645\u5f00\u53d1\u4e2d\uff0c\u6211\u4eec\u53ef\u80fd\u9700\u8981\u66f4\u590d\u6742\u7684\u8fd0\u884c\u548c\u8c03\u8bd5\u529f\u80fd\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528IDE\u8fd0\u884cPython\u6587\u4ef6<\/h3>\n<\/p>\n<p><p>\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u53ef\u4ee5\u63d0\u4f9b\u66f4\u5f3a\u5927\u7684\u529f\u80fd\uff0c\u5305\u62ec\u4ee3\u7801\u8865\u5168\u3001\u8c03\u8bd5\u548c\u7248\u672c\u63a7\u5236\u7b49\u3002\u5e38\u89c1\u7684Python IDE\u6709PyCharm\u3001VS Code\u548cJupyter Notebook\u7b49\u3002<\/p>\n<\/p>\n<p><h4>1. PyCharm<\/h4>\n<\/p>\n<p><p>PyCharm\u662f\u4e00\u6b3e\u4e13\u4e1a\u7684Python IDE\uff0c\u9002\u7528\u4e8e\u5927\u578b\u9879\u76ee\u7684\u5f00\u53d1\u3002\u4ee5\u4e0b\u662f\u4f7f\u7528PyCharm\u8fd0\u884cPython\u6587\u4ef6\u7684\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u88c5\u5e76\u6253\u5f00PyCharm<\/strong>\uff1a\u4ece\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u5e76\u5b89\u88c5PyCharm\u540e\uff0c\u542f\u52a8\u8f6f\u4ef6\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u521b\u5efa\u6216\u5bfc\u5165\u9879\u76ee<\/strong>\uff1a\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u9879\u76ee\u6216\u5bfc\u5165\u73b0\u6709\u9879\u76ee\u3002\u6587\u4ef6\u5c06\u88ab\u7ec4\u7ec7\u5728\u9879\u76ee\u7ed3\u6784\u4e2d\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8fd0\u884c\u6587\u4ef6<\/strong>\uff1a\u5728\u9879\u76ee\u7ed3\u6784\u4e2d\u627e\u5230\u9700\u8981\u8fd0\u884c\u7684\u6587\u4ef6\uff0c\u53f3\u952e\u70b9\u51fb\u5e76\u9009\u62e9\u201cRun \u2018\u6587\u4ef6\u540d\u2019\u201d\u3002PyCharm\u5c06\u81ea\u52a8\u914d\u7f6e\u8fd0\u884c\u73af\u5883\u5e76\u6267\u884c\u6587\u4ef6\u4e2d\u7684\u4ee3\u7801\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h4>2. VS Code<\/h4>\n<\/p>\n<p><p>VS Code\u662f\u4e00\u6b3e\u8f7b\u91cf\u7ea7\u7684\u4ee3\u7801\u7f16\u8f91\u5668\uff0c\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\u3002\u4ee5\u4e0b\u662f\u4f7f\u7528VS Code\u8fd0\u884cPython\u6587\u4ef6\u7684\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u88c5\u5e76\u6253\u5f00VS Code<\/strong>\uff1a\u4ece\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u5e76\u5b89\u88c5VS Code\u540e\uff0c\u542f\u52a8\u8f6f\u4ef6\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5Python\u6269\u5c55<\/strong>\uff1a\u5728\u6269\u5c55\u5e02\u573a\u4e2d\u641c\u7d22\u5e76\u5b89\u88c5Python\u6269\u5c55\uff0c\u4ee5\u63d0\u4f9bPython\u8bed\u8a00\u652f\u6301\u548c\u8c03\u8bd5\u529f\u80fd\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6253\u5f00\u6587\u4ef6<\/strong>\uff1a\u901a\u8fc7\u6587\u4ef6\u83dc\u5355\u6216\u62d6\u653e\u65b9\u5f0f\u6253\u5f00\u9700\u8981\u8fd0\u884c\u7684Python\u6587\u4ef6\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8fd0\u884c\u6587\u4ef6<\/strong>\uff1a\u5728\u7f16\u8f91\u5668\u4e2d\u6253\u5f00\u6587\u4ef6\u540e\uff0c\u6309\u4e0b<code>Ctrl + Shift + P<\/code>\uff0c\u8f93\u5165\u5e76\u9009\u62e9<code>Run Python File in Terminal<\/code>\uff0c\u6587\u4ef6\u5c06\u88ab\u8fd0\u884c\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u4e09\u3001\u4f7f\u7528\u811a\u672c\u8c03\u7528\u8fd0\u884cPython\u6587\u4ef6<\/h3>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u53ef\u80fd\u9700\u8981\u4ece\u53e6\u4e00\u4e2aPython\u811a\u672c\u4e2d\u8fd0\u884c\u4e00\u4e2aPython\u6587\u4ef6\u3002\u8fd9\u53ef\u4ee5\u901a\u8fc7<code>subprocess<\/code>\u6a21\u5757\u6765\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<p><p>\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import subprocess<\/p>\n<h2><strong>\u5b9a\u4e49\u8981\u8fd0\u884c\u7684Python\u6587\u4ef6<\/strong><\/h2>\n<p>file_to_run = &quot;example.py&quot;<\/p>\n<h2><strong>\u4f7f\u7528subprocess\u6a21\u5757\u8fd0\u884c\u6587\u4ef6<\/strong><\/h2>\n<p>subprocess.run([&quot;python&quot;, file_to_run])<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u7684\u4f18\u52bf\u5728\u4e8e\u53ef\u4ee5\u5728\u8fd0\u884c\u524d\u540e\u6267\u884c\u989d\u5916\u7684\u903b\u8f91\uff0c\u4f8b\u5982\u5904\u7406\u8f93\u5165\u53c2\u6570\u6216\u6355\u83b7\u8f93\u51fa\u7ed3\u679c\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u4f7f\u7528\u6a21\u5757\u5bfc\u5165\u8fd0\u884cPython\u6587\u4ef6<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u6587\u4ef6\u672c\u8d28\u4e0a\u662f\u4e00\u4e2a\u6a21\u5757\u3002\u56e0\u6b64\uff0c\u53ef\u4ee5\u901a\u8fc7\u5bfc\u5165\u6a21\u5757\u7684\u65b9\u5f0f\u8fd0\u884c\u6587\u4ef6\u4e2d\u7684\u4ee3\u7801\u3002\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u9700\u8981\u590d\u7528\u4ee3\u7801\u6216\u5c06\u4ee3\u7801\u7ec4\u7ec7\u6210\u6a21\u5757\u5316\u7ed3\u6784\u7684\u573a\u666f\u3002<\/p>\n<\/p>\n<p><p>\u4ee5\u4e0b\u662f\u4e00\u4e2a\u4f8b\u5b50\uff1a<\/p>\n<\/p>\n<p><p>\u5047\u8bbe\u6709\u4e00\u4e2a\u6587\u4ef6<code>example.py<\/code>\uff0c\u5176\u4e2d\u5305\u542b\u4e00\u4e2a\u51fd\u6570<code>m<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>n<\/code>\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># example.py<\/p>\n<p>def main():<\/p>\n<p>    print(&quot;Hello, world!&quot;)<\/p>\n<p>if __name__ == &quot;__main__&quot;:<\/p>\n<p>    main()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u53ef\u4ee5\u5728\u53e6\u4e00\u4e2a\u6587\u4ef6\u4e2d\u5bfc\u5165\u5e76\u8fd0\u884c\u8be5\u51fd\u6570\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># run_example.py<\/p>\n<p>import example<\/p>\n<h2><strong>\u8c03\u7528example\u6a21\u5757\u4e2d\u7684main\u51fd\u6570<\/strong><\/h2>\n<p>example.main()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u7684\u4f18\u52bf\u5728\u4e8e\u4ee3\u7801\u7684\u53ef\u590d\u7528\u6027\u548c\u6a21\u5757\u5316\uff0c\u9002\u5408\u5927\u578b\u9879\u76ee\u7684\u5f00\u53d1\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7<strong>\u547d\u4ee4\u884c\u8fd0\u884c\u3001IDE\u8fd0\u884c\u3001\u811a\u672c\u8c03\u7528\u3001\u6a21\u5757\u5bfc\u5165<\/strong>\u7b49\u591a\u79cd\u65b9\u6cd5\uff0c\u53ef\u4ee5\u7075\u6d3b\u5730\u8fd0\u884cPython\u6587\u4ef6\u3002\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u9002\u7528\u573a\u666f\u548c\u4f18\u52bf\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u6700\u5408\u9002\u7684\u65b9\u6cd5\u3002\u5176\u4e2d\uff0c<strong>\u547d\u4ee4\u884c\u8fd0\u884c<\/strong>\u9002\u7528\u4e8e\u5feb\u901f\u6d4b\u8bd5\u548c\u7b80\u5355\u4efb\u52a1\uff0c<strong>IDE\u8fd0\u884c<\/strong>\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u5f00\u53d1\u548c\u8c03\u8bd5\u529f\u80fd\uff0c<strong>\u811a\u672c\u8c03\u7528<\/strong>\u9002\u7528\u4e8e\u81ea\u52a8\u5316\u4efb\u52a1\uff0c\u800c<strong>\u6a21\u5757\u5bfc\u5165<\/strong>\u5219\u9002\u5408\u6a21\u5757\u5316\u548c\u590d\u7528\u4ee3\u7801\u3002\u65e0\u8bba\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\uff0c\u7406\u89e3\u5176\u80cc\u540e\u7684\u539f\u7406\u548c\u9002\u7528\u573a\u666f\u5c06\u6709\u52a9\u4e8e\u63d0\u5347\u5f00\u53d1\u6548\u7387\u548c\u4ee3\u7801\u8d28\u91cf\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5728Python\u4e2d\uff0c\u5982\u4f55\u8fd0\u884c\u7279\u5b9a\u683c\u5f0f\u7684\u6587\u4ef6\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u8fd0\u884c\u591a\u79cd\u6587\u4ef6\u683c\u5f0f\uff0c\u6700\u5e38\u89c1\u7684\u662f.py\u6587\u4ef6\u3002\u8981\u8fd0\u884c.py\u6587\u4ef6\uff0c\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\u884c\u6216\u7ec8\u7aef\uff0c\u8f93\u5165\u201cpython \u6587\u4ef6\u540d.py\u201d\u6216\u201cpython3 \u6587\u4ef6\u540d.py\u201d\uff0c\u5177\u4f53\u53d6\u51b3\u4e8e\u7cfb\u7edf\u5b89\u88c5\u7684Python\u7248\u672c\u3002\u6b64\u5916\uff0c\u4e5f\u53ef\u4ee5\u5728\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u4e2d\u6253\u5f00\u8be5\u6587\u4ef6\u5e76\u76f4\u63a5\u8fd0\u884c\u3002<\/p>\n<p><strong>Python\u652f\u6301\u54ea\u4e9b\u6587\u4ef6\u683c\u5f0f\u7684\u6267\u884c\uff1f<\/strong><br \/>\u9664\u4e86.py\u6587\u4ef6\uff0cPython\u8fd8\u53ef\u4ee5\u5904\u7406\u5176\u4ed6\u683c\u5f0f\u7684\u6587\u4ef6\uff0c\u5982.ipynb\uff08Jupyter Notebook\u6587\u4ef6\uff09\uff0c.pyw\uff08\u65e0\u63a7\u5236\u53f0\u7a97\u53e3\u7684Python\u811a\u672c\uff09\uff0c\u4ee5\u53ca\u4e00\u4e9b\u914d\u7f6e\u6587\u4ef6\uff08\u5982.json\u3001.yaml\u7b49\uff09\u3002\u5bf9\u4e8e.ipynb\u6587\u4ef6\uff0c\u901a\u5e38\u9700\u8981\u5728Jupyter Notebook\u73af\u5883\u4e2d\u6253\u5f00\u548c\u8fd0\u884c\uff0c\u800c\u5176\u4ed6\u683c\u5f0f\u5219\u53ef\u4ee5\u6839\u636e\u9700\u8981\u8fdb\u884c\u89e3\u6790\u548c\u5904\u7406\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u5904\u7406\u5e76\u8fd0\u884c\u6570\u636e\u6587\u4ef6\uff1f<\/strong><br \/>\u5982\u679c\u9700\u8981\u5904\u7406\u6570\u636e\u6587\u4ef6\uff08\u5982.csv\u6216.txt\uff09\uff0c\u53ef\u4ee5\u4f7f\u7528Python\u5185\u7f6e\u7684\u6587\u4ef6\u5904\u7406\u529f\u80fd\u6216\u7b2c\u4e09\u65b9\u5e93\uff08\u5982pandas\uff09\u3002\u901a\u8fc7\u8bfb\u53d6\u6570\u636e\u6587\u4ef6\u5e76\u8fdb\u884c\u5904\u7406\uff0c\u53ef\u4ee5\u5c06\u5176\u8f6c\u5316\u4e3a\u9002\u5408\u8ba1\u7b97\u7684\u683c\u5f0f\u3002\u8bfb\u53d6\u6570\u636e\u540e\uff0c\u53ef\u4ee5\u6267\u884c\u76f8\u5173\u7684\u903b\u8f91\u8fd0\u7b97\u6216\u5206\u6790\uff0c\u6700\u7ec8\u5c06\u7ed3\u679c\u8f93\u51fa\u5230\u65b0\u6587\u4ef6\u6216\u63a7\u5236\u53f0\u3002<\/p>\n<p><strong>\u5982\u4f55\u8c03\u8bd5\u8fd0\u884c\u7684Python\u6587\u4ef6\uff1f<\/strong><br \/>\u8c03\u8bd5Python\u6587\u4ef6\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528IDE\u7684\u8c03\u8bd5\u5de5\u5177\uff0c\u6bd4\u5982PyCharm\u6216VS Code\uff0c\u63d0\u4f9b\u65ad\u70b9\u3001\u6b65\u8fdb\u6267\u884c\u7b49\u529f\u80fd\u3002\u6b64\u5916\uff0cPython\u81ea\u8eab\u4e5f\u63d0\u4f9b\u4e86pdb\u6a21\u5757\uff0c\u53ef\u4ee5\u5728\u4ee3\u7801\u4e2d\u63d2\u5165\u8c03\u8bd5\u5668\uff0c\u4ee5\u9010\u884c\u68c0\u67e5\u4ee3\u7801\u6267\u884c\u8fc7\u7a0b\u3002\u8fd9\u4e9b\u65b9\u6cd5\u80fd\u6709\u6548\u5e2e\u52a9\u5b9a\u4f4d\u4ee3\u7801\u4e2d\u7684\u95ee\u9898\u5e76\u8fdb\u884c\u4fee\u590d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u8fd0\u884c\u4e00\u4e2a\u6587\u4ef6\u7684\u65b9\u6cd5\u5305\u62ec\u4ee5\u4e0b\u51e0\u79cd\uff1a\u4f7f\u7528\u547d\u4ee4\u884c\u3001\u4f7f\u7528IDE\u3001\u4f7f\u7528\u811a\u672c\u8c03\u7528\u3001\u4f7f\u7528\u6a21\u5757\u5bfc\u5165\u3002\u5176\u4e2d\u4f7f\u7528\u547d [&hellip;]","protected":false},"author":3,"featured_media":1134193,"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\/1134183"}],"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=1134183"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1134183\/revisions"}],"predecessor-version":[{"id":1134195,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1134183\/revisions\/1134195"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1134193"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1134183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1134183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1134183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}