{"id":937684,"date":"2024-12-26T19:56:44","date_gmt":"2024-12-26T11:56:44","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/937684.html"},"modified":"2024-12-26T19:56:46","modified_gmt":"2024-12-26T11:56:46","slug":"python%e5%a6%82%e4%bd%95%e8%be%93%e4%bb%a3%e7%a0%81","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/937684.html","title":{"rendered":"python\u5982\u4f55\u8f93\u4ee3\u7801"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25073416\/e75e661b-416d-4285-872a-4d7123240abe.webp\" alt=\"python\u5982\u4f55\u8f93\u4ee3\u7801\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u8f93\u5165\u4ee3\u7801\u53ef\u4ee5\u901a\u8fc7\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668\u3001\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u4ee5\u53ca\u6587\u672c\u7f16\u8f91\u5668\u8fdb\u884c\u3002\u4f7f\u7528\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668\u65f6\uff0c\u53ea\u9700\u6253\u5f00\u547d\u4ee4\u884c\u5e76\u8f93\u5165<code>python<\/code>\u547d\u4ee4\u5373\u53ef\u8fdb\u5165Python\u89e3\u91ca\u5668\uff0c\u8f93\u5165\u4ee3\u7801\u540e\u76f4\u63a5\u6309\u56de\u8f66\u8fd0\u884c\u3002\u4f7f\u7528IDE\uff0c\u5982PyCharm\u6216VSCode\uff0c\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2aPython\u6587\u4ef6\uff0c\u8f93\u5165\u4ee3\u7801\u540e\u8fd0\u884c\u3002\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668\u65f6\uff0c\u8f93\u5165\u4ee3\u7801\u540e\u4fdd\u5b58\u4e3a<code>.py<\/code>\u6587\u4ef6\uff0c\u4f7f\u7528\u547d\u4ee4\u884c\u8fd0\u884c\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4f7f\u7528\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668<\/p>\n<\/p>\n<p><p>Python\u7684\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668\u662f\u4e00\u4e2a\u975e\u5e38\u65b9\u4fbf\u7684\u5de5\u5177\uff0c\u7279\u522b\u9002\u5408\u8fdb\u884c\u7b80\u5355\u7684\u6d4b\u8bd5\u548c\u5feb\u901f\u7684\u539f\u578b\u5f00\u53d1\u3002\u8981\u4f7f\u7528\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668\uff0c\u53ea\u9700\u5728\u7ec8\u7aef\u6216\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u8f93\u5165<code>python<\/code>\uff08\u6216<code>python3<\/code>\uff0c\u5177\u4f53\u53d6\u51b3\u4e8e\u4f60\u7684Python\u5b89\u88c5\uff09\u5373\u53ef\u3002\u8fd9\u5c06\u542f\u52a8Python\u89e3\u91ca\u5668\uff0c\u663e\u793a\u4e00\u4e2a\u63d0\u793a\u7b26\uff08\u901a\u5e38\u662f<code>&gt;&gt;&gt;<\/code>\uff09\uff0c\u5728\u6b64\u63d0\u793a\u7b26\u4e0b\uff0c\u4f60\u53ef\u4ee5\u8f93\u5165\u4efb\u4f55\u5408\u6cd5\u7684Python\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><p>\u4f7f\u7528\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668\u7684\u4e00\u4e2a\u663e\u8457\u4f18\u70b9\u662f\u5b83\u63d0\u4f9b\u4e86\u5373\u65f6\u53cd\u9988\u3002\u8f93\u5165\u4e00\u884c\u4ee3\u7801\u5e76\u6309\u56de\u8f66\uff0c\u89e3\u91ca\u5668\u4f1a\u7acb\u5373\u6267\u884c\u8fd9\u884c\u4ee3\u7801\u5e76\u8fd4\u56de\u7ed3\u679c\u3002\u8fd9\u5bf9\u4e8e\u5b66\u4e60Python\u548c\u8c03\u8bd5\u5c0f\u5757\u4ee3\u7801\u975e\u5e38\u6709\u7528\u3002\u7136\u800c\uff0c\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668\u4e0d\u592a\u9002\u5408\u7f16\u5199\u957f\u7a0b\u5e8f\uff0c\u56e0\u4e3a\u4e00\u65e6\u5173\u95ed\u89e3\u91ca\u5668\uff0c\u4f1a\u4e22\u5931\u6240\u6709\u8f93\u5165\u7684\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u4f7f\u7528\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09<\/p>\n<\/p>\n<ol>\n<li>PyCharm<\/li>\n<\/ol>\n<p><p>PyCharm\u662f\u7531JetBr<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>ns\u5f00\u53d1\u7684\u4e00\u4e2a\u5e7f\u6cdb\u4f7f\u7528\u7684Python IDE\uff0c\u5b83\u63d0\u4f9b\u4e86\u8bb8\u591a\u5f3a\u5927\u7684\u529f\u80fd\u6765\u5e2e\u52a9\u5f00\u53d1\u8005\u63d0\u9ad8\u751f\u4ea7\u529b\u3002\u4f7f\u7528PyCharm\uff0c\u4f60\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2aPython\u9879\u76ee\uff0c\u7ba1\u7406\u4f9d\u8d56\u9879\uff0c\u8fd0\u884c\u548c\u8c03\u8bd5\u4ee3\u7801\uff0c\u7b49\u7b49\u3002PyCharm\u8fd8\u63d0\u4f9b\u4e86\u4ee3\u7801\u8865\u5168\u3001\u8bed\u6cd5\u68c0\u67e5\u548c\u91cd\u6784\u5de5\u5177\uff0c\u4f7f\u5f97\u7f16\u5199\u548c\u7ef4\u62a4Python\u4ee3\u7801\u66f4\u52a0\u5bb9\u6613\u3002<\/p>\n<\/p>\n<p><p>\u8981\u5728PyCharm\u4e2d\u8f93\u5165\u4ee3\u7801\uff0c\u9996\u5148\u9700\u8981\u521b\u5efa\u4e00\u4e2a\u65b0\u9879\u76ee\u6216\u6253\u5f00\u73b0\u6709\u9879\u76ee\u3002\u7136\u540e\uff0c\u5728\u9879\u76ee\u4e2d\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Python\u6587\u4ef6\uff0c\u5e76\u5728\u7f16\u8f91\u5668\u4e2d\u8f93\u5165\u4ee3\u7801\u3002PyCharm\u63d0\u4f9b\u4e86\u4e00\u4e2a\u8fd0\u884c\u6309\u94ae\uff0c\u53ef\u4ee5\u76f4\u63a5\u8fd0\u884c\u5f53\u524d\u6587\u4ef6\u4e2d\u7684\u4ee3\u7801\u3002PyCharm\u8fd8\u6709\u4e00\u4e2a\u5185\u7f6e\u7ec8\u7aef\uff0c\u53ef\u4ee5\u7528\u4e8e\u6267\u884c\u547d\u4ee4\u884c\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li>Visual Studio Code (VSCode)<\/li>\n<\/ol>\n<p><p>VSCode\u662f\u4e00\u4e2a\u7531\u5fae\u8f6f\u5f00\u53d1\u7684\u5f00\u6e90\u4ee3\u7801\u7f16\u8f91\u5668\uff0c\u5b83\u652f\u6301\u8bb8\u591a\u7f16\u7a0b\u8bed\u8a00\uff0c\u5305\u62ecPython\u3002VSCode\u672c\u8eab\u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u7684\u7f16\u8f91\u5668\uff0c\u4f46\u901a\u8fc7\u5b89\u88c5\u6269\u5c55\uff08\u5982Python\u6269\u5c55\uff09\uff0c\u5b83\u53ef\u4ee5\u53d8\u6210\u4e00\u4e2a\u529f\u80fd\u5f3a\u5927\u7684IDE\u3002<\/p>\n<\/p>\n<p><p>\u8981\u5728VSCode\u4e2d\u8f93\u5165Python\u4ee3\u7801\uff0c\u9996\u5148\u9700\u8981\u786e\u4fdd\u5df2\u5b89\u88c5Python\u6269\u5c55\u3002\u7136\u540e\uff0c\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Python\u6587\u4ef6\uff0c\u8f93\u5165\u4ee3\u7801\u5e76\u4fdd\u5b58\u3002VSCode\u63d0\u4f9b\u4e86\u4e00\u4e2a\u8c03\u8bd5\u5668\uff0c\u53ef\u4ee5\u7528\u6765\u8fd0\u884c\u548c\u8c03\u8bd5Python\u4ee3\u7801\u3002VSCode\u7684\u7ec8\u7aef\u4e5f\u53ef\u4ee5\u7528\u4e8e\u6267\u884cPython\u811a\u672c\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668<\/p>\n<\/p>\n<ol>\n<li>Sublime Text<\/li>\n<\/ol>\n<p><p>Sublime Text\u662f\u4e00\u4e2a\u6d41\u884c\u7684\u6587\u672c\u7f16\u8f91\u5668\uff0c\u4ee5\u5176\u901f\u5ea6\u548c\u7b80\u6d01\u7684\u754c\u9762\u800c\u95fb\u540d\u3002\u5c3d\u7ba1\u5b83\u4e0d\u662f\u4e00\u4e2aIDE\uff0c\u4f46\u5b83\u53ef\u4ee5\u901a\u8fc7\u5b89\u88c5\u63d2\u4ef6\u6765\u652f\u6301Python\u5f00\u53d1\u3002<\/p>\n<\/p>\n<p><p>\u5728Sublime Text\u4e2d\u8f93\u5165Python\u4ee3\u7801\u975e\u5e38\u7b80\u5355\uff1a\u53ea\u9700\u6253\u5f00Sublime Text\uff0c\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u6587\u4ef6\uff0c\u8f93\u5165\u4ee3\u7801\u5e76\u4fdd\u5b58\u4e3a<code>.py<\/code>\u6587\u4ef6\u3002\u7136\u540e\uff0c\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u4e2d\u8fd0\u884c\u8fd9\u4e2a\u6587\u4ef6\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li>Atom<\/li>\n<\/ol>\n<p><p>Atom\u662f\u53e6\u4e00\u4e2a\u6d41\u884c\u7684\u6587\u672c\u7f16\u8f91\u5668\uff0c\u7531GitHub\u5f00\u53d1\u3002\u5b83\u4e5f\u662f\u4e00\u4e2a\u5f00\u6e90\u7f16\u8f91\u5668\uff0c\u5e76\u4e14\u53ef\u4ee5\u901a\u8fc7\u63d2\u4ef6\u652f\u6301Python\u5f00\u53d1\u3002<\/p>\n<\/p>\n<p><p>\u5728Atom\u4e2d\u8f93\u5165Python\u4ee3\u7801\u7684\u8fc7\u7a0b\u4e0eSublime Text\u7c7b\u4f3c\u3002\u6253\u5f00Atom\uff0c\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u6587\u4ef6\uff0c\u8f93\u5165\u4ee3\u7801\u5e76\u4fdd\u5b58\u4e3a<code>.py<\/code>\u6587\u4ef6\u3002\u7136\u540e\uff0c\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u4e2d\u8fd0\u884c\u8fd9\u4e2a\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u8fd0\u884cPython\u4ee3\u7801<\/p>\n<\/p>\n<p><p>\u65e0\u8bba\u4f7f\u7528\u54ea\u79cd\u5de5\u5177\u8f93\u5165\u4ee3\u7801\uff0c\u6700\u7ec8\u90fd\u9700\u8981\u8fd0\u884c\u4ee3\u7801\u6765\u67e5\u770b\u7ed3\u679c\u3002\u5728\u547d\u4ee4\u884c\u4e2d\uff0c\u8fd0\u884cPython\u4ee3\u7801\u7684\u57fa\u672c\u65b9\u6cd5\u662f\u4f7f\u7528<code>python<\/code>\u547d\u4ee4\uff08\u6216<code>python3<\/code>\uff0c\u5177\u4f53\u53d6\u51b3\u4e8e\u4f60\u7684Python\u5b89\u88c5\uff09\uff0c\u540e\u8ddfPython\u6587\u4ef6\u7684\u540d\u79f0\u3002\u4f8b\u5982\uff0c<code>python script.py<\/code>\u5c06\u8fd0\u884c\u540d\u4e3a<code>script.py<\/code>\u7684Python\u811a\u672c\u3002<\/p>\n<\/p>\n<p><p>\u6b64\u5916\uff0c\u8bb8\u591aIDE\u548c\u7f16\u8f91\u5668\u90fd\u63d0\u4f9b\u4e86\u56fe\u5f62\u754c\u9762\u7684\u8fd0\u884c\u6309\u94ae\uff0c\u53ef\u4ee5\u76f4\u63a5\u8fd0\u884c\u5f53\u524d\u6587\u4ef6\u4e2d\u7684\u4ee3\u7801\uff0c\u800c\u4e0d\u9700\u8981\u5207\u6362\u5230\u547d\u4ee4\u884c\u3002\u8fd9\u4f7f\u5f97\u4ee3\u7801\u7684\u6d4b\u8bd5\u548c\u8c03\u8bd5\u66f4\u52a0\u65b9\u4fbf\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u8c03\u8bd5\u4e0e\u6d4b\u8bd5<\/p>\n<\/p>\n<p><p>\u5728\u7f16\u5199Python\u4ee3\u7801\u65f6\uff0c\u8c03\u8bd5\u548c\u6d4b\u8bd5\u662f\u786e\u4fdd\u4ee3\u7801\u8d28\u91cf\u7684\u91cd\u8981\u6b65\u9aa4\u3002Python\u63d0\u4f9b\u4e86\u5185\u7f6e\u7684\u8c03\u8bd5\u5de5\u5177\uff0c\u5982<code>pdb<\/code>\uff0c\u53ef\u4ee5\u7528\u4e8e\u8ddf\u8e2a\u548c\u5206\u6790\u4ee3\u7801\u6267\u884c\u3002\u6b64\u5916\uff0c\u8bb8\u591aIDE\u548c\u7f16\u8f91\u5668\u4e5f\u96c6\u6210\u4e86\u8c03\u8bd5\u5668\uff0c\u63d0\u4f9b\u4e86\u66f4\u76f4\u89c2\u7684\u8c03\u8bd5\u754c\u9762\u3002<\/p>\n<\/p>\n<p><p>\u6d4b\u8bd5\u662f\u9a8c\u8bc1\u4ee3\u7801\u884c\u4e3a\u7684\u53e6\u4e00\u4e2a\u5173\u952e\u6b65\u9aa4\u3002Python\u6709\u8bb8\u591a\u6d4b\u8bd5\u6846\u67b6\uff0c\u5982<code>unittest<\/code>\u3001<code>pytest<\/code>\u7b49\uff0c\u53ef\u4ee5\u7528\u4e8e\u7f16\u5199\u81ea\u52a8\u5316\u6d4b\u8bd5\u7528\u4f8b\u3002\u8fd9\u4e9b\u6d4b\u8bd5\u6846\u67b6\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u5728\u4ee3\u7801\u53d8\u66f4\u540e\u5feb\u901f\u9a8c\u8bc1\u4ee3\u7801\u7684\u6b63\u786e\u6027\u3002<\/p>\n<\/p>\n<p><p>\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\u8f93\u5165\u4ee3\u7801\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u5de5\u5177\u548c\u65b9\u6cd5\u5b9e\u73b0\uff0c\u5305\u62ec\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668\u3001IDE\u548c\u6587\u672c\u7f16\u8f91\u5668\u3002\u6bcf\u79cd\u5de5\u5177\u90fd\u6709\u5176\u4f18\u7f3a\u70b9\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u548c\u504f\u597d\u9009\u62e9\u5408\u9002\u7684\u5de5\u5177\u3002\u65e0\u8bba\u4f7f\u7528\u54ea\u79cd\u5de5\u5177\uff0c\u8fd0\u884c\u3001\u8c03\u8bd5\u548c\u6d4b\u8bd5\u90fd\u662f\u786e\u4fdd\u4ee3\u7801\u8d28\u91cf\u7684\u91cd\u8981\u6b65\u9aa4\u3002\u901a\u8fc7\u5408\u7406\u4f7f\u7528\u8fd9\u4e9b\u5de5\u5177\u548c\u6b65\u9aa4\uff0c\u53ef\u4ee5\u63d0\u9ad8Python\u5f00\u53d1\u7684\u6548\u7387\u548c\u4ee3\u7801\u8d28\u91cf\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u8f93\u5165\u4ee3\u7801\u5e76\u8fd0\u884c\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u8f93\u5165\u4ee3\u7801\u5e76\u8fd0\u884c\u3002\u6700\u5e38\u7528\u7684\u65b9\u5f0f\u5305\u62ec\u4f7f\u7528IDLE\u3001Jupyter Notebook\u6216\u8005\u76f4\u63a5\u5728\u547d\u4ee4\u884c\uff08\u7ec8\u7aef\uff09\u4e2d\u8f93\u5165\u4ee3\u7801\u3002IDLE\u662fPython\u81ea\u5e26\u7684\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff0c\u542f\u52a8\u540e\u53ef\u4ee5\u76f4\u63a5\u8f93\u5165\u4ee3\u7801\u5e76\u6309\u56de\u8f66\u6267\u884c\u3002Jupyter Notebook\u5219\u63d0\u4f9b\u4e86\u4e00\u4e2a\u4e92\u52a8\u7684\u73af\u5883\uff0c\u53ef\u4ee5\u5728\u7f51\u9875\u4e2d\u7f16\u5199\u548c\u8fd0\u884c\u4ee3\u7801\uff0c\u975e\u5e38\u9002\u5408\u6570\u636e\u5206\u6790\u548c\u79d1\u5b66\u8ba1\u7b97\u3002\u5bf9\u4e8e\u547d\u4ee4\u884c\u7528\u6237\uff0c\u53ef\u4ee5\u901a\u8fc7\u8f93\u5165<code>python<\/code>\u8fdb\u5165Python\u4ea4\u4e92\u6a21\u5f0f\uff0c\u6216\u8005\u5c06\u4ee3\u7801\u5199\u5165<code>.py<\/code>\u6587\u4ef6\u5e76\u5728\u7ec8\u7aef\u4f7f\u7528<code>python \u6587\u4ef6\u540d.py<\/code>\u547d\u4ee4\u8fd0\u884c\u3002<\/p>\n<p><strong>\u65b0\u624b\u5982\u4f55\u9009\u62e9\u5408\u9002\u7684Python\u5f00\u53d1\u73af\u5883\uff1f<\/strong><br \/>\u9009\u62e9\u5408\u9002\u7684Python\u5f00\u53d1\u73af\u5883\u5bf9\u4e8e\u65b0\u624b\u6765\u8bf4\u81f3\u5173\u91cd\u8981\u3002\u5982\u679c\u4f60\u662f\u521d\u5b66\u8005\uff0c\u53ef\u4ee5\u9009\u62e9\u4f7f\u7528IDLE\u6216Thonny\uff0c\u5b83\u4eec\u754c\u9762\u53cb\u597d\u4e14\u529f\u80fd\u7b80\u5355\uff0c\u9002\u5408\u5feb\u901f\u4e0a\u624b\u3002\u5982\u679c\u9700\u8981\u66f4\u5f3a\u5927\u7684\u529f\u80fd\uff0c\u53ef\u4ee5\u8003\u8651\u4f7f\u7528PyCharm\u6216Visual Studio Code\uff0c\u8fd9\u4e9bIDE\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u63d2\u4ef6\u548c\u8c03\u8bd5\u5de5\u5177\uff0c\u6709\u52a9\u4e8e\u63d0\u9ad8\u7f16\u7a0b\u6548\u7387\u3002\u5bf9\u4e8e\u6570\u636e\u79d1\u5b66\u548c<a href=\"https:\/\/docs.pingcode.com\/ask\/59192.html\" target=\"_blank\">\u673a\u5668\u5b66\u4e60<\/a>\u76f8\u5173\u7684\u9879\u76ee\uff0cJupyter Notebook\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\uff0c\u652f\u6301\u4ee3\u7801\u7684\u53ef\u89c6\u5316\u5c55\u793a\u548c\u9010\u6b65\u6267\u884c\u3002<\/p>\n<p><strong>\u5982\u4f55\u5904\u7406Python\u4ee3\u7801\u4e2d\u7684\u9519\u8bef\uff1f<\/strong><br \/>\u5728\u7f16\u5199Python\u4ee3\u7801\u65f6\uff0c\u9519\u8bef\u662f\u4e0d\u53ef\u907f\u514d\u7684\u3002\u4e3a\u4e86\u6709\u6548\u5904\u7406\u9519\u8bef\uff0c\u53ef\u4ee5\u5229\u7528Python\u7684\u5f02\u5e38\u5904\u7406\u673a\u5236\u3002\u5728\u4ee3\u7801\u4e2d\u4f7f\u7528<code>try<\/code>\u548c<code>except<\/code>\u8bed\u53e5\u5757\u53ef\u4ee5\u6355\u83b7\u5e76\u5904\u7406\u6f5c\u5728\u7684\u9519\u8bef\uff0c\u907f\u514d\u7a0b\u5e8f\u5d29\u6e83\u3002\u6b64\u5916\uff0c\u9605\u8bfb\u9519\u8bef\u4fe1\u606f\u548c\u8ddf\u8e2a\u6808\u4fe1\u606f\u662f\u5b9a\u4f4d\u95ee\u9898\u7684\u5173\u952e\u3002\u8c03\u8bd5\u5de5\u5177\u548cIDE\u4e2d\u7684\u8c03\u8bd5\u529f\u80fd\u4e5f\u80fd\u5e2e\u52a9\u4f60\u9010\u6b65\u68c0\u67e5\u4ee3\u7801\uff0c\u627e\u51fa\u9519\u8bef\u6e90\u3002\u5b9a\u671f\u8fdb\u884c<a href=\"https:\/\/docs.pingcode.com\/code-review\" target=\"_blank\">\u4ee3\u7801\u5ba1\u67e5<\/a>\u548c\u6d4b\u8bd5\u4e5f\u662f\u63d0\u5347\u4ee3\u7801\u8d28\u91cf\u7684\u91cd\u8981\u65b9\u6cd5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u8f93\u5165\u4ee3\u7801\u53ef\u4ee5\u901a\u8fc7\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668\u3001\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u4ee5\u53ca\u6587\u672c\u7f16\u8f91\u5668\u8fdb\u884c\u3002\u4f7f\u7528\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668\u65f6\uff0c\u53ea [&hellip;]","protected":false},"author":3,"featured_media":937688,"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\/937684"}],"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=937684"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/937684\/revisions"}],"predecessor-version":[{"id":937691,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/937684\/revisions\/937691"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/937688"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=937684"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=937684"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=937684"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}