{"id":70198,"date":"2024-01-29T16:20:17","date_gmt":"2024-01-29T08:20:17","guid":{"rendered":"https:\/\/docs.pingcode.com\/?p=70198"},"modified":"2024-01-29T16:20:18","modified_gmt":"2024-01-29T08:20:18","slug":"python%e7%9a%84%e5%bc%80%e5%8f%91%e7%8e%af%e5%a2%83%e6%9c%89%e5%93%aa%e4%b8%89%e4%b8%aa","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/70198.html","title":{"rendered":"python\u7684\u5f00\u53d1\u73af\u5883\u6709\u54ea\u4e09\u4e2a"},"content":{"rendered":"<p><strong>Python\u5f00\u53d1\u73af\u5883<\/strong>\u5e38\u89c1\u4e8e\u4e09\u79cd\uff1a<strong>1\u3001IDLE<\/strong>\u3001<strong>2\u3001PyCharm<\/strong>\u3001<strong>3\u3001Jupyter Notebook<\/strong>\u3002\u5176\u4e2d\uff0c<strong>PyCharm<\/strong>\u56e0\u5176\u529f\u80fd\u5f3a\u5927\u548c\u6613\u7528\u6027\uff0c\u5728\u5f00\u53d1\u8005\u4e2d\u4f7f\u7528\u5c24\u4e3a\u5e7f\u6cdb\u3002<\/p>\n<p><strong>\u8be6\u7ec6\u5206\u6790PyCharm\u7684\u7279\u70b9<\/strong>\uff1aPyCharm\u662fJetBrains\u516c\u53f8\u5f00\u53d1\u7684\u4e00\u6b3e\u4e13\u95e8\u7528\u4e8ePython\u8bed\u8a00\u7684\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u3002\u5b83\u62e5\u6709\u4ee3\u7801\u81ea\u52a8\u5b8c\u6210\u3001<a href=\"https:\/\/docs.pingcode.com\/blog\/project-management\/23316.html\" target=\"_blank\">\u9879\u76ee\u7ba1\u7406<\/a>\u3001\u5f3a\u5927\u7684\u8c03\u8bd5\u529f\u80fd\u3001\u7248\u672c\u63a7\u5236\u5de5\u5177\u96c6\u6210\u7b49\u9ad8\u7ea7\u7f16\u7a0b\u8f85\u52a9\u529f\u80fd\u3002\u53e6\u5916\uff0cPyCharm\u63d0\u4f9b\u4e86\u5bf9Django\u3001Flask\u7b49Python Web\u6846\u67b6\u7684\u652f\u6301\uff0c\u4f7f\u5f97\u5f00\u53d1Web\u5e94\u7528\u66f4\u4e3a\u4fbf\u6377\u3002\u6b64\u5916\uff0c\u5b83\u8fd8\u652f\u6301\u6570\u636e\u79d1\u5b66\u5de5\u5177\uff0c\u5982\u652f\u6301Anaconda\uff0c\u65b9\u4fbf\u7ba1\u7406\u4e0d\u540c\u7684\u79d1\u5b66\u8ba1\u7b97\u73af\u5883\u4ee5\u53ca\u76f4\u63a5\u96c6\u6210\u4e86IPython Notebook\u3002<\/p>\n<p>\u6b64\u5916\uff0cPyCharm\u5206\u4e3a\u793e\u533a\u7248\u548c\u4e13\u4e1a\u7248\uff0c\u793e\u533a\u7248\u662f\u514d\u8d39\u7684\u5f00\u6e90\u7248\u672c\uff0c\u9002\u5408\u7eafPython\u5f00\u53d1\uff1b\u800c\u4e13\u4e1a\u7248\u662f\u6536\u8d39\u7684\uff0c\u63d0\u4f9b\u66f4\u591a\u7684\u7279\u6027\u548c\u6846\u67b6\u652f\u6301\uff0c\u9002\u5408\u4e13\u4e1a\u5f00\u53d1\u4eba\u5458\u548c\u5927\u578b\u9879\u76ee\u3002<\/p>\n<h2><strong>\u4e00\u3001IDLE<\/strong><\/h2>\n<p>IDLE \u662fPython\u81ea\u5e26\u7684\u5f00\u53d1\u73af\u5883\u3002\u5b83\u662f\u4e00\u4e2a\u7b80\u5355\u7684IDE\uff0c\u5bf9\u4e8e\u521d\u5b66\u8005\u6765\u8bb2\uff0c\u8fd9\u4e2a\u73af\u5883\u5df2\u7ecf\u8db3\u591f\u6ee1\u8db3\u57fa\u672c\u7684\u7f16\u7a0b\u9700\u6c42\u3002\u5b83\u63d0\u4f9b\u4e86\u57fa\u672c\u7684\u7f16\u7a0b\u529f\u80fd\uff0c\u8bf8\u5982\u7f16\u5199\u3001\u6267\u884c\u3001\u8c03\u8bd5Python\u4ee3\u7801\u3002\u5c3d\u7ba1IDLE\u7684\u529f\u80fd\u8f83\u4e3a\u57fa\u672c\uff0c\u4f46\u5b83\u5bf9\u65b0\u624b\u53cb\u597d\uff0c\u5b89\u88c5\u7b80\u5355\uff0c\u9002\u5408\u4e8e\u5b66\u4e60Python\u8bed\u6cd5\u548c\u57fa\u7840\u77e5\u8bc6\u3002<\/p>\n<h2><strong>\u4e8c\u3001PYCHARM<\/strong><\/h2>\n<p>PyCharm\u662f\u4e00\u6b3e\u529f\u80fd\u5f3a\u5927\u7684Python IDE\uff0c\u63d0\u4f9b\u4e86\u8bb8\u591a\u4e13\u4e1a\u7684\u529f\u80fd\uff0c\u4f8b\u5982\u9ad8\u7ea7\u4ee3\u7801\u7f16\u8f91\u5668\u3001\u4ee3\u7801\u5206\u6790\u3001\u56fe\u5f62\u5316\u7684\u8c03\u8bd5\u5668\u548c\u6d4b\u8bd5\u6267\u884c\u5668\u3001\u7248\u672c\u63a7\u5236\u96c6\u6210\u7b49\u3002<strong>PyCharm<\/strong>\u652f\u6301Python Web\u5f00\u53d1\u548c\u6570\u636e\u79d1\u5b66\u5f00\u53d1\uff0c\u96c6\u6210\u4e86\u5927\u91cf\u73b0\u4ee3\u7f16\u7a0b\u5de5\u5177\u548c\u6846\u67b6\u3002\u6b64\u5916\uff0cPyCharm\u8fd8\u5177\u6709\u53ef\u81ea\u5b9a\u4e49\u7684UI\u754c\u9762\u548c\u63d2\u4ef6\u7cfb\u7edf\uff0c\u53ef\u4ee5\u6ee1\u8db3\u4e0d\u540c\u5f00\u53d1\u8005\u7684\u4e2a\u6027\u5316\u9700\u6c42\u3002<\/p>\n<h2><strong>\u4e09\u3001JUPYTER NOTEBOOK<\/strong><\/h2>\n<p>Jupyter Notebook\u662f\u4e00\u6b3e\u5f00\u6e90\u7684Web\u5e94\u7528\u7a0b\u5e8f\uff0c\u5b83\u5141\u8bb8\u7528\u6237\u521b\u5efa\u548c\u5171\u4eab\u6587\u6863\uff0c\u8fd9\u4e9b\u6587\u6863\u4e2d\u53ef\u4ee5\u5305\u542b\u5b9e\u65f6\u4ee3\u7801\u3001\u65b9\u7a0b\u5f0f\u3001\u53ef\u89c6\u5316\u4ee5\u53ca\u8bf4\u660e\u6027\u6587\u672c\u3002Jupyter Notebook\u7279\u522b\u9002\u5408\u4e8e\u6570\u636e\u5206\u6790\u3001\u79d1\u5b66\u8ba1\u7b97\u548c\u6559\u5b66\u6f14\u793a\u3002\u5b83\u7684\u4ea4\u4e92\u6027\u5f3a\uff0c\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\u3002\u7531\u4e8e\u5176\u5bf9\u6570\u636e\u53ef\u89c6\u5316\u548c\u63a2\u7d22\u6027\u5206\u6790\u7684\u53cb\u597d\u652f\u6301\uff0cJupyter Notebook\u5728\u6570\u636e\u79d1\u5b66\u9886\u57df\u88ab\u5e7f\u6cdb\u8fd0\u7528\u3002<\/p>\n<p> <strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><strong>1. Python\u7684\u5f00\u53d1\u73af\u5883\u6709\u54ea\u4e9b\u5178\u578b\u7684\u9009\u62e9\uff1f<\/strong><br \/>\n\u5728Python\u5f00\u53d1\u73af\u5883\u4e2d\uff0c\u5e38\u89c1\u7684\u9009\u62e9\u5305\u62ecAnaconda\u3001Jupyter Notebook\u548cPyCharm\u3002Anaconda\u662f\u4e00\u4e2a\u5927\u6570\u636e\u79d1\u5b66\u5e73\u53f0\uff0c\u5305\u542b\u4e86\u8bb8\u591a\u5e38\u7528\u7684Python\u5305\u548c\u5de5\u5177\uff0c\u9002\u5408\u6570\u636e\u79d1\u5b66\u548c<a href=\"https:\/\/docs.pingcode.com\/ask\/59192.html\" target=\"_blank\">\u673a\u5668\u5b66\u4e60<\/a>\u7684\u5f00\u53d1\u3002Jupyter Notebook\u662f\u4e00\u4e2a\u4ea4\u4e92\u5f0f\u7684\u7b14\u8bb0\u672c\u73af\u5883\uff0c\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u6570\u636e\u5206\u6790\u548c\u53ef\u89c6\u5316\u3002PyCharm\u662f\u4e00\u6b3e\u7531JetBr<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>ns\u63a8\u51fa\u7684\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\uff0c\u62e5\u6709\u4e30\u5bcc\u7684\u529f\u80fd\u548c\u5f3a\u5927\u7684\u8c03\u8bd5\u80fd\u529b\uff0c\u9002\u7528\u4e8e\u5404\u79cd\u89c4\u6a21\u7684Python\u9879\u76ee\u5f00\u53d1\u3002<\/p>\n<p><strong>2. \u9664\u4e86Anaconda\u3001Jupyter Notebook\u548cPyCharm\uff0c\u8fd8\u6709\u54ea\u4e9bPython\u5f00\u53d1\u73af\u5883\u503c\u5f97\u63a8\u8350\uff1f<\/strong><br \/>\n\u9664\u4e86\u4e0a\u8ff0\u7684\u7ecf\u5178\u9009\u62e9\u4e4b\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u5176\u4ed6\u7684Python\u5f00\u53d1\u73af\u5883\u503c\u5f97\u63a8\u8350\u3002\u4f8b\u5982\uff0cVS Code\u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u4f46\u529f\u80fd\u5f3a\u5927\u7684\u7f16\u8f91\u5668\uff0c\u901a\u8fc7\u5b89\u88c5\u9002\u7528\u7684\u63d2\u4ef6\u53ef\u4ee5\u6210\u4e3aPython\u5f00\u53d1\u7684\u826f\u597d\u9009\u62e9\u3002Spyder\u662f\u57fa\u4e8eQt\u7684Python\u5f00\u53d1\u73af\u5883\uff0c\u62e5\u6709\u7c7b\u4f3cMATLAB\u7684\u754c\u9762\uff0c\u9002\u7528\u4e8e\u79d1\u5b66\u8ba1\u7b97\u548c\u6570\u636e\u5206\u6790\u3002\u9664\u6b64\u4e4b\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u8f7b\u91cf\u7ea7\u7684\u6587\u672c\u7f16\u8f91\u5668\u5982Sublime Text\u548cAtom\uff0c\u4ee5\u53ca\u4e13\u95e8\u9488\u5bf9\u79d1\u5b66\u8ba1\u7b97\u7684\u5f00\u53d1\u73af\u5883\u5982Rodeo\u7b49\u3002<\/p>\n<p><strong>3. Python\u5f00\u53d1\u73af\u5883\u7684\u9009\u62e9\u5e94\u8be5\u8003\u8651\u54ea\u4e9b\u56e0\u7d20\uff1f<\/strong><br \/>\n\u5728\u9009\u62e9Python\u5f00\u53d1\u73af\u5883\u65f6\uff0c\u5e94\u8be5\u8003\u8651\u9879\u76ee\u7684\u89c4\u6a21\u548c\u6027\u8d28\u3001\u4e2a\u4eba\u7684\u5f00\u53d1\u4e60\u60ef\u548c\u559c\u597d\uff0c\u4ee5\u53ca\u5f00\u53d1\u73af\u5883\u7684\u529f\u80fd\u548c\u6027\u80fd\u3002\u5982\u679c\u662f\u8fdb\u884c\u6570\u636e\u79d1\u5b66\u548c\u673a\u5668\u5b66\u4e60\u7684\u5f00\u53d1\uff0c\u53ef\u4ee5\u8003\u8651\u9009\u62e9\u9002\u7528\u4e8e\u5927\u6570\u636e\u5206\u6790\u7684Anaconda\u548cJupyter Notebook\uff1b\u5982\u679c\u662f\u8fdb\u884c\u901a\u7528\u7684Python\u9879\u76ee\u5f00\u53d1\uff0c\u53ef\u4ee5\u8003\u8651PyCharm\u7b49\u529f\u80fd\u5f3a\u5927\u7684IDE\uff1b\u5982\u679c\u8ffd\u6c42\u8f7b\u91cf\u7ea7\u548c\u7075\u6d3b\u6027\uff0c\u53ef\u4ee5\u9009\u62e9VS Code\u7b49\u7f16\u8f91\u5668\u3002\u540c\u65f6\uff0c\u5f00\u53d1\u73af\u5883\u7684\u6613\u7528\u6027\u3001\u6269\u5c55\u6027\u548c\u793e\u533a\u652f\u6301\u4e5f\u662f\u9009\u62e9\u7684\u91cd\u8981\u8003\u91cf\u56e0\u7d20\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u5f00\u53d1\u73af\u5883\u5e38\u89c1\u4e8e\u4e09\u79cd\uff1a1\u3001IDLE\u30012\u3001PyCharm\u30013\u3001Jupyter Notebook\u3002\u5176\u4e2d\uff0c [&hellip;]","protected":false},"author":1,"featured_media":70201,"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\/70198"}],"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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=70198"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/70198\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/70201"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=70198"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=70198"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=70198"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}