{"id":778,"date":"2025-12-14T14:30:43","date_gmt":"2025-12-14T06:30:43","guid":{"rendered":"https:\/\/www.52runoob.com\/?p=778"},"modified":"2025-12-14T14:30:43","modified_gmt":"2025-12-14T06:30:43","slug":"%e6%9c%80%e8%af%a6%e7%bb%86%e7%9a%84%e4%b8%80%e9%9b%86pythonpycharm%e4%b8%8b%e8%bd%bd%e5%ae%89%e8%a3%85%e6%bf%80%e6%b4%bb%e4%b8%80%e7%ab%99%e5%bc%8f%e6%94%bb%e7%95%a5-2","status":"publish","type":"post","link":"https:\/\/www.52runoob.com\/index.php\/2025\/12\/14\/%e6%9c%80%e8%af%a6%e7%bb%86%e7%9a%84%e4%b8%80%e9%9b%86pythonpycharm%e4%b8%8b%e8%bd%bd%e5%ae%89%e8%a3%85%e6%bf%80%e6%b4%bb%e4%b8%80%e7%ab%99%e5%bc%8f%e6%94%bb%e7%95%a5-2\/","title":{"rendered":"\u6700\u8be6\u7ec6\u7684\u4e00\u96c6!Python+PyCharm\u4e0b\u8f7d\u5b89\u88c5\u6fc0\u6d3b\u4e00\u7ad9\u5f0f\u653b\u7565"},"content":{"rendered":"\n<p>\u4e0b\u9762\u7ed9\u4f60\u4e00\u7bc7<strong>\u6807\u9898\u515a\u7ea7\u4f46\u5185\u5bb9\u771f\u6b63\u201c\u4e00\u7ad9\u5f0f\u6700\u8be6\u7ec6\u201d\u7684\u5b8c\u6574\u6559\u7a0b<\/strong>\uff0c\u9002\u5408\u505a\u535a\u5ba2\u3001\u516c\u4f17\u53f7\u3001\u77e5\u4e4e\u3001CSDN \u6216\u6559\u5b66\u7528 \ud83d\udc47<br>\uff08Python + PyCharm <strong>\u4e0b\u8f7d\u5b89\u88c5 + \u914d\u7f6e + \u6fc0\u6d3b\/\u514d\u8d39\u65b9\u6848 + \u5e38\u89c1\u5751<\/strong>\u5168\u8986\u76d6\uff09<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u6700\u8be6\u7ec6\u7684\u4e00\u96c6\uff01Python + PyCharm \u4e0b\u8f7d\u5b89\u88c5\u6fc0\u6d3b\u4e00\u7ad9\u5f0f\u653b\u7565<\/h1>\n\n\n\n<p>\u5982\u679c\u4f60\u662f <strong>\u96f6\u57fa\u7840\u65b0\u624b<\/strong>\uff0c\u6216\u8005\u66fe\u88ab Python \/ PyCharm \u7684\u5b89\u88c5\u8fc7\u7a0b\u529d\u9000\uff0c\u8fd9\u4e00\u7bc7\u53ef\u4ee5 <strong>\u76f4\u63a5\u7167\u7740\u505a\uff0c\u4e0d\u8e29\u5751<\/strong>\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e00\u3001\u5b89\u88c5\u524d\u4f60\u9700\u8981\u77e5\u9053\u7684 3 \u4ef6\u4e8b<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Python \u662f\u8bed\u8a00\u672c\u4f53<\/strong><\/li>\n\n\n\n<li><strong>PyCharm \u662f\u5f00\u53d1\u5de5\u5177\uff08IDE\uff09<\/strong><\/li>\n\n\n\n<li>\u4e24\u8005 <strong>\u5fc5\u987b\u642d\u914d\u4f7f\u7528\uff0c\u4f46\u8981\u5206\u522b\u5b89\u88c5<\/strong><\/li>\n<\/ol>\n\n\n\n<p>\ud83d\udc49 \u5efa\u8bae\u987a\u5e8f\uff1a<br><strong>\u5148\u88c5 Python \u2192 \u518d\u88c5 PyCharm<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e8c\u3001Python \u5b89\u88c5\uff08Windows \/ macOS \u901a\u7528\uff09<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1\ufe0f\u20e3 \u4e0b\u8f7d Python \u5b98\u65b9\u5b89\u88c5\u5305<\/h3>\n\n\n\n<p>\u5b98\u7f51\uff08\u552f\u4e00\u63a8\u8350\uff09<br>\ud83d\udc49 <a href=\"https:\/\/www.python.org\/\">https:\/\/www.python.org\/<\/a><\/p>\n\n\n\n<p>\u70b9\u51fb\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Downloads \u2192 Download Python 3.x.x\uff08\u6700\u65b0\u7a33\u5b9a\u7248\uff09<\/p>\n<\/blockquote>\n\n\n\n<p>\u26a0\ufe0f \u4e0d\u8981\u4ece\u7b2c\u4e09\u65b9\u7f51\u7ad9\u4e0b\u8f7d\uff0c\u5bb9\u6613\u5e26\u5e7f\u544a\u6216\u6728\u9a6c\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">2\ufe0f\u20e3 Windows \u5b89\u88c5\u6b65\u9aa4\uff08\u91cd\u70b9\uff09<\/h3>\n\n\n\n<p>\u53cc\u51fb\u5b89\u88c5\u5305\u540e <strong>\u4e00\u5b9a\u8981\u52fe\u9009<\/strong>\uff1a<\/p>\n\n\n\n<p>\u2705 <strong>Add Python to PATH<\/strong>\uff08\u975e\u5e38\u91cd\u8981\uff09<br>\u7136\u540e\u70b9\u51fb\uff1a<\/p>\n\n\n\n<p>\ud83d\udc49 <strong>Install Now<\/strong><\/p>\n\n\n\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\u70b9\u51fb <strong>Close<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">3\ufe0f\u20e3 macOS \u5b89\u88c5\u8bf4\u660e<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Intel \/ Apple Silicon \u81ea\u52a8\u8bc6\u522b<\/li>\n\n\n\n<li>\u4e00\u8def Next \u5373\u53ef<\/li>\n\n\n\n<li>\u5b89\u88c5\u5b8c\u6210\u540e\u7ec8\u7aef\u8f93\u5165\uff1a<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\npython3 --version\n\n<\/pre><\/div>\n\n\n<p>\u51fa\u73b0\u7248\u672c\u53f7\u5373\u6210\u529f<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">4\ufe0f\u20e3 \u9a8c\u8bc1 Python \u662f\u5426\u5b89\u88c5\u6210\u529f\uff08\u5fc5\u505a\uff09<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Windows<\/h4>\n\n\n\n<p>\u6253\u5f00 <strong>CMD \/ PowerShell<\/strong>\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\npython --version\n\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\">macOS<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\npython3 --version\n\n<\/pre><\/div>\n\n\n<p>\u770b\u5230\u7248\u672c\u53f7\u8bf4\u660e <strong>Python \u5df2\u6b63\u786e\u5b89\u88c5<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e09\u3001PyCharm \u5b89\u88c5\uff08\u4e13\u4e1a\u7248 &amp; \u793e\u533a\u7248\uff09<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1\ufe0f\u20e3 PyCharm \u4e24\u4e2a\u7248\u672c\u533a\u522b<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u7248\u672c<\/th><th>\u662f\u5426\u6536\u8d39<\/th><th>\u9002\u5408\u4eba\u7fa4<\/th><\/tr><\/thead><tbody><tr><td>Community\uff08\u793e\u533a\u7248\uff09<\/td><td>\u514d\u8d39<\/td><td><strong>90% \u5b66\u4e60\u8005\u63a8\u8350<\/strong><\/td><\/tr><tr><td>Professional\uff08\u4e13\u4e1a\u7248\uff09<\/td><td>\u6536\u8d39<\/td><td>Web \/ \u6570\u636e\u5e93 \/ Django<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\ud83d\udc49 <strong>\u65b0\u624b\u76f4\u63a5\u9009 Community<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">2\ufe0f\u20e3 PyCharm \u5b98\u65b9\u4e0b\u8f7d\u5730\u5740<\/h3>\n\n\n\n<p>\ud83d\udc49 <a href=\"https:\/\/www.jetbrains.com\/pycharm\/download\/\">https:\/\/www.jetbrains.com\/pycharm\/download\/<\/a><\/p>\n\n\n\n<p>\u9009\u62e9\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Windows \/ macOS<\/li>\n\n\n\n<li>Community Edition<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">3\ufe0f\u20e3 \u5b89\u88c5\u8fc7\u7a0b\u5173\u952e\u9009\u9879\uff08Windows\uff09<\/h3>\n\n\n\n<p>\u5b89\u88c5\u65f6\u5efa\u8bae\u52fe\u9009\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u2705 Create Desktop Shortcut<\/li>\n\n\n\n<li>\u2705 Add &#8220;Open Folder as Project&#8221;<\/li>\n\n\n\n<li>\u2705 Add to PATH\uff08\u53ef\u9009\uff09<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u56db\u3001PyCharm \u6fc0\u6d3b \/ \u4f7f\u7528\u8bf4\u660e\uff08\u91cd\u70b9\uff09<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u2705 \u793e\u533a\u7248\uff08Community\uff09\u2014\u2014\u65e0\u9700\u6fc0\u6d3b<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5b89\u88c5\u5b8c\u76f4\u63a5\u7528<\/li>\n\n\n\n<li><strong>\u6c38\u4e45\u514d\u8d39<\/strong><\/li>\n\n\n\n<li>\u5b66 Python \/ \u722c\u866b \/ \u81ea\u52a8\u5316 \/ \u6570\u636e\u5206\u6790\u5b8c\u5168\u591f\u7528<\/li>\n<\/ul>\n\n\n\n<p>\ud83d\udc49 <strong>\u5f3a\u70c8\u63a8\u8350<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u26a0\ufe0f \u4e13\u4e1a\u7248\uff08Professional\uff09\u6fc0\u6d3b\u8bf4\u660e\uff08\u5408\u6cd5\uff09<\/h3>\n\n\n\n<p>\u5982\u679c\u4f60\u7528\u7684\u662f\u4e13\u4e1a\u7248\uff1a<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u5408\u6cd5\u65b9\u5f0f 1\uff1a\u5b66\u751f\/\u6559\u5e08\u514d\u8d39<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4f7f\u7528 <code>.edu<\/code> \u90ae\u7bb1<\/li>\n\n\n\n<li>JetBrains \u5b98\u65b9\u5b66\u751f\u6388\u6743<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">\u5408\u6cd5\u65b9\u5f0f 2\uff1a\u8bd5\u7528 30 \u5929<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5b98\u65b9\u81ea\u5e26\u8bd5\u7528<\/li>\n<\/ul>\n\n\n\n<p>\u274c \u4e0d\u5efa\u8bae\u4f7f\u7528\u4efb\u4f55\u7834\u89e3\u65b9\u5f0f\uff08\u98ce\u9669\u9ad8 + \u5bb9\u6613\u5931\u6548\uff09<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e94\u3001PyCharm \u7b2c\u4e00\u6b21\u914d\u7f6e\uff08\u65b0\u624b\u5fc5\u505a\uff09<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1\ufe0f\u20e3 \u521b\u5efa\u7b2c\u4e00\u4e2a Python \u9879\u76ee<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u6253\u5f00 PyCharm<\/li>\n\n\n\n<li>New Project<\/li>\n\n\n\n<li>\u9009\u62e9 Python Interpreter\uff08\u89e3\u91ca\u5668\uff09<\/li>\n<\/ul>\n\n\n\n<p>\ud83d\udc49 \u5982\u679c\u4f60\u5df2\u7ecf\u5b89\u88c5 Python\uff0cPyCharm \u4f1a <strong>\u81ea\u52a8\u8bc6\u522b<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">2\ufe0f\u20e3 \u65b0\u5efa Python \u6587\u4ef6<\/h3>\n\n\n\n<p>\u53f3\u952e\u9879\u76ee \u2192 New \u2192 Python File<br>\u8f93\u5165\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nprint(&quot;Hello, Python!&quot;)\n\n<\/pre><\/div>\n\n\n<p>\u70b9\u51fb \u25b6 Run<\/p>\n\n\n\n<p>\u770b\u5230\u8f93\u51fa\u5373\u6210\u529f \ud83c\udf89<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u516d\u3001\u5e38\u89c1\u95ee\u9898 &amp; \u5751\u70b9\u5408\u96c6\uff08\u975e\u5e38\u91cd\u8981\uff09<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u274c \u95ee\u9898 1\uff1apython \u4e0d\u662f\u5185\u90e8\u6216\u5916\u90e8\u547d\u4ee4<\/h3>\n\n\n\n<p>\u539f\u56e0\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5b89\u88c5\u65f6\u6ca1\u52fe\u9009 <strong>Add Python to PATH<\/strong><\/li>\n<\/ul>\n\n\n\n<p>\u89e3\u51b3\u65b9\u6848\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u91cd\u65b0\u5b89\u88c5 Python<\/li>\n\n\n\n<li>\u6216\u624b\u52a8\u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u274c \u95ee\u9898 2\uff1aPyCharm \u627e\u4e0d\u5230\u89e3\u91ca\u5668<\/h3>\n\n\n\n<p>\u89e3\u51b3\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Settings \u2192 Python Interpreter<\/li>\n\n\n\n<li>\u624b\u52a8\u9009\u62e9 Python \u5b89\u88c5\u8def\u5f84<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u274c \u95ee\u9898 3\uff1aPyCharm \u542f\u52a8\u5f88\u6162<\/h3>\n\n\n\n<p>\u89e3\u51b3\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5173\u95ed\u4e0d\u5fc5\u8981\u63d2\u4ef6<\/li>\n\n\n\n<li>\u4f7f\u7528 Community \u7248<\/li>\n\n\n\n<li>\u7ed9 PyCharm \u5206\u914d\u66f4\u591a\u5185\u5b58<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e03\u3001\u63a8\u8350\u7684\u65b0\u624b\u5b66\u4e60\u8def\u7ebf\uff08\u5b9e\u7528\uff09<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Python \u57fa\u7840\u8bed\u6cd5<\/li>\n\n\n\n<li>\u6761\u4ef6 \/ \u5faa\u73af \/ \u51fd\u6570<\/li>\n\n\n\n<li>\u6587\u4ef6\u64cd\u4f5c<\/li>\n\n\n\n<li>\u722c\u866b \/ \u81ea\u52a8\u5316<\/li>\n\n\n\n<li>\u6570\u636e\u5206\u6790 \/ Web\uff08\u6309\u65b9\u5411\uff09<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u516b\u3001\u603b\u7ed3<\/h2>\n\n\n\n<p>\u8fd9\u4e00\u5957\u6d41\u7a0b\u4e0b\u6765\uff0c\u4f60\u5df2\u7ecf\u5b8c\u6210\u4e86\uff1a<\/p>\n\n\n\n<p>\u2705 Python \u5b98\u65b9\u5b89\u88c5<br>\u2705 PyCharm \u6b63\u786e\u914d\u7f6e<br>\u2705 \u6fc0\u6d3b\u95ee\u9898\u907f\u5751<br>\u2705 \u7b2c\u4e00\u4e2a\u7a0b\u5e8f\u6210\u529f\u8fd0\u884c<\/p>\n\n\n\n<p>\u4f60\u73b0\u5728\u5df2\u7ecf <strong>\u5177\u5907\u6b63\u5f0f\u5b66\u4e60 Python \u7684\u73af\u5883<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e0b\u9762\u7ed9\u4f60\u4e00\u7bc7\u6807\u9898\u515a\u7ea7\u4f46\u5185\u5bb9\u771f\u6b63\u201c\u4e00\u7ad9\u5f0f\u6700\u8be6\u7ec6\u201d\u7684\u5b8c\u6574\u6559\u7a0b\uff0c\u9002\u5408\u505a\u535a\u5ba2\u3001\u516c\u4f17\u53f7\u3001\u77e5&#8230; <a class=\"more-link\" href=\"https:\/\/www.52runoob.com\/index.php\/2025\/12\/14\/%e6%9c%80%e8%af%a6%e7%bb%86%e7%9a%84%e4%b8%80%e9%9b%86pythonpycharm%e4%b8%8b%e8%bd%bd%e5%ae%89%e8%a3%85%e6%bf%80%e6%b4%bb%e4%b8%80%e7%ab%99%e5%bc%8f%e6%94%bb%e7%95%a5-2\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-778","post","type-post","status-publish","format-standard","hentry","category-12"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts\/778","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/comments?post=778"}],"version-history":[{"count":1,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts\/778\/revisions"}],"predecessor-version":[{"id":779,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts\/778\/revisions\/779"}],"wp:attachment":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/media?parent=778"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/categories?post=778"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/tags?post=778"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}