{"id":72,"date":"2020-04-19T09:29:22","date_gmt":"2020-04-19T01:29:22","guid":{"rendered":"http:\/\/python.vvipblog.com\/?p=72"},"modified":"2020-04-19T09:29:22","modified_gmt":"2020-04-19T01:29:22","slug":"python-ide","status":"publish","type":"post","link":"http:\/\/www.vvipblog.com\/?p=72","title":{"rendered":"Python IDE"},"content":{"rendered":"<h1>Python IDE<\/h1>\n<p>\u672c\u6587\u4e3a\u5927\u5bb6\u63a8\u8350\u51e0\u6b3e\u6b3e\u4e0d\u9519\u7684 <strong>Python IDE<\/strong>\uff08\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff09\uff0c\u6bd4\u8f83\u63a8\u8350 PyCharm\uff0c\u5f53\u7136\u4f60\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u559c\u597d\u6765\u9009\u62e9\u9002\u5408\u81ea\u5df1\u7684 Python IDE\u3002<\/p>\n<hr \/>\n<h2>PyCharm<\/h2>\n<p>PyCharm \u662f\u7531 JetBrains \u6253\u9020\u7684\u4e00\u6b3e Python IDE\u3002<\/p>\n<p>PyCharm \u5177\u5907\u4e00\u822c <strong>Python IDE<\/strong> \u7684\u529f\u80fd\uff0c\u6bd4\u5982\uff1a\u8c03\u8bd5\u3001\u8bed\u6cd5\u9ad8\u4eae\u3001\u9879\u76ee\u7ba1\u7406\u3001\u4ee3\u7801\u8df3\u8f6c\u3001\u667a\u80fd\u63d0\u793a\u3001\u81ea\u52a8\u5b8c\u6210\u3001\u5355\u5143\u6d4b\u8bd5\u3001\u7248\u672c\u63a7\u5236\u7b49\u3002<\/p>\n<p>\u53e6\u5916\uff0cPyCharm \u8fd8\u63d0\u4f9b\u4e86\u4e00\u4e9b\u5f88\u597d\u7684\u529f\u80fd\u7528\u4e8e Django \u5f00\u53d1\uff0c\u540c\u65f6\u652f\u6301 Google App Engine\uff0c\u66f4\u9177\u7684\u662f\uff0cPyCharm \u652f\u6301 IronPython\u3002<\/p>\n<p>PyCharm \u5b98\u65b9\u4e0b\u8f7d\u5730\u5740\uff1a<a href=\"http:\/\/www.jetbrains.com\/pycharm\/download\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.jetbrains.com\/pycharm\/download\/<\/a><\/p>\n<p>\u6548\u679c\u56fe\u67e5\u770b\uff1a<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/new.vvipblog.com\/wp-content\/uploads\/2020\/04\/1587259854-a94a1d158345d28.png\" \/><\/p>\n<hr \/>\n<h2>Sublime Text<\/h2>\n<p>Sublime Text \u5177\u6709\u6f02\u4eae\u7684\u7528\u6237\u754c\u9762\u548c\u5f3a\u5927\u7684\u529f\u80fd\uff0c\u4f8b\u5982\u4ee3\u7801\u7f29\u7565\u56fe\uff0cPython \u7684\u63d2\u4ef6\uff0c\u4ee3\u7801\u6bb5\u7b49\u3002\u8fd8\u53ef\u81ea\u5b9a\u4e49\u952e\u7ed1\u5b9a\uff0c\u83dc\u5355\u548c\u5de5\u5177\u680f\u3002<\/p>\n<p>Sublime Text \u7684\u4e3b\u8981\u529f\u80fd\u5305\u62ec\uff1a\u62fc\u5199\u68c0\u67e5\uff0c\u4e66\u7b7e\uff0c\u5b8c\u6574\u7684 Python API \uff0c Goto \u529f\u80fd\uff0c\u5373\u65f6\u9879\u76ee\u5207\u6362\uff0c\u591a\u9009\u62e9\uff0c\u591a\u7a97\u53e3\u7b49\u7b49\u3002<\/p>\n<p>Sublime Text \u662f\u4e00\u4e2a\u8de8\u5e73\u53f0\u7684\u7f16\u8f91\u5668\uff0c\u540c\u65f6\u652f\u6301 Windows\u3001Linux\u3001Mac OS X\u7b49\u64cd\u4f5c\u7cfb\u7edf\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/new.vvipblog.com\/wp-content\/uploads\/2020\/04\/1587259855-3d625c469448f8c.jpg\" \/><\/p>\n<p>\u4f7f\u7528Sublime Text 2\u7684\u63d2\u4ef6\u6269\u5c55\u529f\u80fd\uff0c\u4f60\u53ef\u4ee5\u8f7b\u677e\u7684\u6253\u9020\u4e00\u6b3e\u4e0d\u9519\u7684 Python IDE\uff0c\u4ee5\u4e0b\u63a8\u8350\u51e0\u6b3e\u63d2\u4ef6\uff08\u4f60\u53ef\u4ee5\u627e\u5230\u66f4\u591a\uff09\uff1a<\/p>\n<ul>\n<li>CodeIntel\uff1a\u81ea\u52a8\u8865\u5168+\u6210\u5458\/\u65b9\u6cd5\u63d0\u793a\uff08\u5f3a\u70c8\u63a8\u8350\uff09<\/li>\n<li>SublimeREPL\uff1a\u7528\u4e8e\u8fd0\u884c\u548c\u8c03\u8bd5\u4e00\u4e9b\u9700\u8981\u4ea4\u4e92\u7684\u7a0b\u5e8f\uff08E.G. \u4f7f\u7528\u4e86Input()\u7684\u7a0b\u5e8f\uff09<\/li>\n<li>Bracket Highlighter\uff1a\u62ec\u53f7\u5339\u914d\u53ca\u9ad8\u4eae<\/li>\n<li>SublimeLinter\uff1a\u4ee3\u7801pep8\u683c\u5f0f\u68c0\u67e5<\/li>\n<\/ul>\n<hr \/>\n<h2>Eclipse+Pydev<\/h2>\n<h3>1\u3001\u5b89\u88c5Eclipse<\/h3>\n<p>Eclipse\u53ef\u4ee5\u5728\u5b83\u7684\u5b98\u65b9\u7f51\u7ad9<a class=\"external\" href=\"http:\/\/eclipse.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">Eclipse.org<\/a>\u627e\u5230\u5e76\u4e0b\u8f7d\uff0c\u901a\u5e38\u6211\u4eec\u53ef\u4ee5\u9009\u62e9\u9002\u5408\u81ea\u5df1\u7684Eclipse\u7248\u672c\uff0c\u6bd4\u5982Eclipse Classic\u3002\u4e0b\u8f7d\u5b8c\u6210\u540e\u89e3\u538b\u5230\u5230\u4f60\u60f3\u5b89\u88c5\u7684\u76ee\u5f55\u4e2d\u5373\u53ef\u3002<\/p>\n<p>\u5f53\u7136\u5728\u6267\u884cEclipse\u4e4b\u524d\uff0c\u4f60\u5fc5\u987b\u786e\u8ba4\u5b89\u88c5\u4e86Java\u8fd0\u884c\u73af\u5883,\u5373\u5fc5\u987b\u5b89\u88c5JRE\u6216JDK\uff0c\u4f60\u53ef\u4ee5\u5230\uff08<a class=\"external\" href=\"http:\/\/www.java.com\/en\/download\/manual.jsp\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.java.com\/en\/download\/manual.jsp<\/a>\uff09\u627e\u5230JRE\u4e0b\u8f7d\u5e76\u5b89\u88c5\u3002<\/p>\n<h3>2\u3001\u5b89\u88c5Pydev<\/h3>\n<p>\u8fd0\u884cEclipse\u4e4b\u540e\uff0c\u9009\u62e9help&#8211;&gt;Install new Software\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/new.vvipblog.com\/wp-content\/uploads\/2020\/04\/1587259855-8432f3ee3d6d65b.gif\" \/><\/p>\n<p>\u70b9\u51fbAdd\uff0c\u6dfb\u52a0pydev\u7684\u5b89\u88c5\u5730\u5740\uff1a<a class=\"external\" href=\"http:\/\/pydev.org\/updates\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/pydev.org\/updates\/<\/a>\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"attachment-full\" src=\"http:\/\/new.vvipblog.com\/wp-content\/uploads\/2020\/04\/1587259856-f68967212f81ce1.gif\" alt=\"Snap2\" width=\"600\" height=\"439\" \/><\/p>\n<p>\u5b8c\u6210\u540e\u70b9\u51fb&#8221;ok&#8221;\uff0c\u63a5\u7740\u70b9\u51fbPyDev\u7684&#8221;+&#8221;\uff0c\u5c55\u5f00PyDev\u7684\u8282\u70b9\uff0c\u8981\u7b49\u4e00\u5c0f\u6bb5\u65f6\u95f4\uff0c\u8ba9\u5b83\u4ece\u7f51\u4e0a\u83b7\u53d6PyDev\u7684\u76f8\u5173\u5957\u4ef6\uff0c\u5f53\u5b8c\u6210\u540e\u4f1a\u591a\u51faPyDev\u7684\u76f8\u5173\u5957\u4ef6\u5728\u5b50\u8282\u70b9\u91cc\uff0c\u52fe\u9009\u5b83\u4eec\u7136\u540e\u6309next\u8fdb\u884c\u5b89\u88c5\u3002\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/new.vvipblog.com\/wp-content\/uploads\/2020\/04\/1587259856-d0887635a0057ba.gif\" \/><\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u91cd\u542fEclipse\u5373\u53ef<\/p>\n<h3>3\u3001\u8bbe\u7f6ePydev<\/h3>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u8fd8\u9700\u8981\u8bbe\u7f6e\u4e00\u4e0bPyDev\uff0c\u9009\u62e9Window -&gt; Preferences\u6765\u8bbe\u7f6ePyDev\u3002\u8bbe\u7f6ePython\u7684\u8def\u5f84\uff0c\u4ecePydev\u7684Interpreter &#8211; Python\u9875\u9762\u9009\u62e9New<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/new.vvipblog.com\/wp-content\/uploads\/2020\/04\/1587259857-f7c1d9062f0278f.gif\" \/><\/p>\n<p>\u4f1a\u5f39\u51fa\u4e00\u4e2a\u7a97\u53e3\u8ba9\u4f60\u9009\u62e9Python\u7684\u5b89\u88c5\u4f4d\u7f6e\uff0c\u9009\u62e9\u4f60\u5b89\u88c5Python\u7684\u6240\u5728\u4f4d\u7f6e\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/new.vvipblog.com\/wp-content\/uploads\/2020\/04\/1587259857-ed45620185b56e0.gif\" \/><\/p>\n<p>\u5b8c\u6210\u4e4b\u540ePyDev\u5c31\u8bbe\u7f6e\u5b8c\u6210\uff0c\u53ef\u4ee5\u5f00\u59cb\u4f7f\u7528\u3002<\/p>\n<h3>4\u3001\u5efa\u7acbPython Project\uff1a<\/h3>\n<p>\u5b89\u88c5\u597dEclipse+PyDev\u4ee5\u540e\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u5f00\u59cb\u4f7f\u7528\u5b83\u6765\u5f00\u53d1\u9879\u76ee\u4e86\u3002\u9996\u5148\u8981\u521b\u5efa\u4e00\u4e2a\u9879\u76ee\uff0c\u9009\u62e9File -&gt; New -&gt;Pydev Project<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/new.vvipblog.com\/wp-content\/uploads\/2020\/04\/1587259858-57a5c2efbf3f303.gif\" \/><\/p>\n<p>\u4f1a\u5f39\u51fa\u4e00\u4e2a\u65b0\u7a97\u53e3\uff0c\u586b\u5199Project Name\uff0c\u4ee5\u53ca\u9879\u76ee\u4fdd\u5b58\u5730\u5740\uff0c\u7136\u540e\u70b9\u51fbnext\u5b8c\u6210\u9879\u76ee\u7684\u521b\u5efa\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/new.vvipblog.com\/wp-content\/uploads\/2020\/04\/1587259859-952289006f2986a.gif\" \/><\/p>\n<h3>5\u3001\u521b\u5efa\u65b0\u7684Pydev Module<\/h3>\n<p>\u5149\u6709\u9879\u76ee\u662f\u65e0\u6cd5\u6267\u884c\u7684\uff0c\u63a5\u7740\u5fc5\u987b\u521b\u5efa\u65b0\u7684Pydev Moudle\uff0c\u9009\u62e9File -&gt; New -&gt; Pydev Module<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/new.vvipblog.com\/wp-content\/uploads\/2020\/04\/1587259859-3fa690f6627633e.gif\" \/><\/p>\n<p>\u5728\u5f39\u51fa\u7684\u7a97\u53e3\u4e2d\u9009\u62e9\u6587\u4ef6\u5b58\u653e\u4f4d\u7f6e\u4ee5\u53caMoudle Name\uff0c\u6ce8\u610fName\u4e0d\u7528\u52a0.py\uff0c\u5b83\u4f1a\u81ea\u52a8\u5e2e\u52a9\u6211\u4eec\u6dfb\u52a0\u3002\u7136\u540e\u70b9\u51fbFinish\u5b8c\u6210\u521b\u5efa\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"attachment-full\" src=\"http:\/\/new.vvipblog.com\/wp-content\/uploads\/2020\/04\/1587259860-83ced5ea2be737f.gif\" alt=\"Snap10\" width=\"524\" height=\"500\" \/><\/p>\n<p>\u8f93\u5165&#8221;hello world&#8221;\u7684\u4ee3\u7801\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/new.vvipblog.com\/wp-content\/uploads\/2020\/04\/1587259860-8416a68833f5e05.gif\" \/><\/p>\n<h3>6\u3001\u6267\u884c\u7a0b\u5e8f<\/h3>\n<p>\u7a0b\u5e8f\u5199\u5b8c\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u5f00\u59cb\u6267\u884c\u7a0b\u5e8f,\u5728\u4e0a\u65b9\u7684\u5de5\u5177\u680f\u4e0a\u9762\u627e\u5230\u6267\u884c\u7684\u6309\u94ae\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/new.vvipblog.com\/wp-content\/uploads\/2020\/04\/1587259861-02509cc07efbacf.gif\" \/><\/p>\n<p>\u4e4b\u540e\u4f1a\u5f39\u51fa\u4e00\u4e2a\u8ba9\u4f60\u9009\u62e9\u6267\u884c\u65b9\u5f0f\u7684\u7a97\u53e3\uff0c\u901a\u5e38\u6211\u4eec\u9009\u62e9Python Run\uff0c\u5f00\u59cb\u6267\u884c\u7a0b\u5e8f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"attachment-full\" src=\"http:\/\/new.vvipblog.com\/wp-content\/uploads\/2020\/04\/1587259861-8539a68d00a2555.gif\" alt=\"Snap14\" width=\"345\" height=\"346\" \/><\/p>\n<hr \/>\n<h2>\u66f4\u591a Python IDE<\/h2>\n<p>\u63a8\u835010 \u6b3e\u6700\u597d\u7684 Python IDE\uff1a<a href=\"https:\/\/www.runoob.com\/w3cnote\/best-python-ide-for-developers.html\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.runoob.com\/w3cnote\/best-python-ide-for-developers.html<\/a><\/p>\n<p>\u5f53\u7136\u8fd8\u6709\u975e\u5e38\u591a\u5f88\u68d2\u7684 Python IDE\uff0c\u4f60\u53ef\u4ee5\u81ea\u7531\u7684\u9009\u62e9\uff0c\u66f4\u591a Python IDE \u8bf7\u53c2\u9605\uff1a<a class=\"external\" href=\"http:\/\/wiki.python.org\/moin\/PythonEditors\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/wiki.python.org\/moin\/PythonEditors<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Python IDE \u672c\u6587\u4e3a\u5927\u5bb6\u63a8\u8350\u51e0\u6b3e\u6b3e\u4e0d\u9519\u7684 Python IDE\uff08\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff09\uff0c\u6bd4\u8f83\u63a8\u8350 PyChar&hellip;<\/p>\n","protected":false},"author":1,"featured_media":101,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,2],"tags":[20,21,26],"class_list":["post-72","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-pycharm","category-pyide","tag-pycharm","tag-python-ide","tag-python"],"_links":{"self":[{"href":"http:\/\/www.vvipblog.com\/index.php?rest_route=\/wp\/v2\/posts\/72","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.vvipblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.vvipblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.vvipblog.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.vvipblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=72"}],"version-history":[{"count":0,"href":"http:\/\/www.vvipblog.com\/index.php?rest_route=\/wp\/v2\/posts\/72\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.vvipblog.com\/index.php?rest_route=\/wp\/v2\/media\/101"}],"wp:attachment":[{"href":"http:\/\/www.vvipblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=72"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.vvipblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=72"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.vvipblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=72"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}