{"id":21642,"date":"2024-11-19T12:18:42","date_gmt":"2024-11-19T04:18:42","guid":{"rendered":"https:\/\/fwq.ai\/blog\/21642\/"},"modified":"2024-11-19T12:18:42","modified_gmt":"2024-11-19T04:18:42","slug":"atom%e6%80%8e%e4%b9%88%e8%bf%90%e8%a1%8cpython","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/21642\/","title":{"rendered":"atom\u600e\u4e48\u8fd0\u884cpython"},"content":{"rendered":"<blockquote><p>\n  atom\u4e2d\u8fd0\u884cpython\u4ee3\u7801\u7684\u6b65\u9aa4\uff1a\u5728\u7cfb\u7edf\u4e2d\u5b89\u88c5python\u89e3\u91ca\u5668\u3002\u5728atom\u4e2d\u5b89\u88c5\u201cpython-run\u201d\u5305\u4ee5\u914d\u7f6epython\u3002\u9009\u4e2d\u8981\u8fd0\u884c\u7684python\u4ee3\u7801\uff0c\u6309\u4e0bctrl+enter\uff08windows\/linux\uff09\u6216cmd+enter\uff08macos\uff09\u8fd0\u884c\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202406\/24\/2024062420434389379.jpg\" class=\"aligncenter\" title=\"atom\u600e\u4e48\u8fd0\u884cpython\u63d2\u56fe\" alt=\"atom\u600e\u4e48\u8fd0\u884cpython\u63d2\u56fe\" \/><\/p>\n<p><strong>Atom\u4e2d\u8fd0\u884cPython<\/strong><\/p>\n<p>Atom\u662f\u4e00\u6b3e\u529f\u80fd\u5f3a\u5927\u7684\u6587\u672c\u7f16\u8f91\u5668\uff0c\u5b83\u63d0\u4f9b\u8bb8\u591a\u529f\u80fd\uff0c\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fd0\u884cPython\u4ee3\u7801\u3002<\/p>\n<p><strong>\u5b89\u88c5Python\u89e3\u91ca\u5668<\/strong><\/p>\n<p>\u8981\u8fd0\u884cPython\u4ee3\u7801\uff0c\u4f60\u9700\u8981\u5728\u7cfb\u7edf\u4e2d\u5b89\u88c5Python\u89e3\u91ca\u5668\u3002\u4ee5\u4e0b\u662f\u5728\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u5b89\u88c5Python\u7684\u65b9\u6cd5\uff1a<\/p>\n<p><span>\u7acb\u5373\u5b66\u4e60<\/span>\u201c\u201d\uff1b<\/p>\n<ul>\n<li> <strong>Windows:<\/strong> \u4e0b\u8f7d\u5e76\u5b89\u88c5Python\u5b89\u88c5\u7a0b\u5e8f\uff08https:\/\/www..org\/downloads\/\uff09\u3002<\/li>\n<li> <strong>MacOS:<\/strong> \u4f7f\u7528Homebrew\uff08https:\/\/brew.sh\/\uff09\u5b89\u88c5Python\uff1abrew install python3<\/li>\n<li> <strong>Linux:<\/strong> \u4f7f\u7528\u8f6f\u4ef6\u5305\u7ba1\u7406\u5668\u5b89\u88c5Python\uff1asudo apt-get install python3\uff08Ubuntu\uff09\u6216 sudo yum install python3\uff08CentOS\uff09<\/li>\n<\/ul>\n<p><strong>\u5728Atom\u4e2d\u914d\u7f6ePython<\/strong><\/p>\n<p>\u5b89\u88c5Python\u89e3\u91ca\u5668\u540e\uff0c\u4f60\u9700\u8981\u914d\u7f6eAtom\u4ee5\u4f7f\u7528\u5b83\u3002<\/p>\n<ol>\n<li>\u6253\u5f00Atom\uff0c\u7136\u540e\u8f6c\u5230\u201c\u5305\u201d\u83dc\u5355\u3002<\/li>\n<li>\u641c\u7d22\u201cpython-run\u201d\u5305\u5e76\u5b89\u88c5\u3002<\/li>\n<li>\u91cd\u542fAtom\u3002<\/li>\n<\/ol>\n<p><strong>\u8fd0\u884cPython\u4ee3\u7801<\/strong><\/p>\n<p>\u73b0\u5728\uff0c\u4f60\u53ef\u4ee5\u8fd0\u884cPython\u4ee3\u7801\u4e86\u3002\u4ee5\u4e0b\u662f\u5982\u4f55\u64cd\u4f5c\uff1a<\/p>\n<ol>\n<li>\u5728Atom\u4e2d\u6253\u5f00\u4e00\u4e2aPython\u6587\u4ef6\u3002<\/li>\n<li>\u9009\u4e2d\u8981\u8fd0\u884c\u7684\u4ee3\u7801\u5757\u3002<\/li>\n<li>\u6309\u4e0bCtrl+Enter\uff08Windows\/Linux\uff09\u6216Cmd+Enter\uff08MacOS\uff09\u3002<\/li>\n<\/ol>\n<p>Atom\u5c06\u4f7f\u7528\u4f60\u914d\u7f6e\u7684Python\u89e3\u91ca\u5668\u8fd0\u884c\u4ee3\u7801\uff0c\u5e76\u5728Atom\u63a7\u5236\u53f0\u4e2d\u663e\u793a\u8f93\u51fa\u3002<\/p>\n<p><strong>\u9644\u52a0\u529f\u80fd<\/strong><\/p>\n<p>Atom\u7684python-run\u5305\u8fd8\u63d0\u4f9b\u8bb8\u591a\u5176\u4ed6\u529f\u80fd\uff0c\u4f8b\u5982\uff1a<\/p>\n<ul>\n<li>\u8bed\u6cd5\u9ad8\u4eae\u548c\u4ee3\u7801\u81ea\u52a8\u5b8c\u6210<\/li>\n<li>\u8fd0\u884c\u6574\u4e2a\u6587\u4ef6\u6216\u9009\u5b9a\u7684\u4ee3\u7801\u5757<\/li>\n<li>\u663e\u793a\u9519\u8bef\u548c\u8b66\u544a\u6d88\u606f<\/li>\n<li>\u5728\u4ea4\u4e92\u5f0fPython\u4f1a\u8bdd\u4e2d\u8c03\u8bd5\u4ee3\u7801<\/li>\n<\/ul>\n<p>\u8fd9\u4e9b\u529f\u80fd\u53ef\u4ee5\u8ba9\u5728Atom\u4e2d\u8fd0\u884cPython\u4ee3\u7801\u66f4\u52a0\u65b9\u4fbf\u548c\u9ad8\u6548\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662fatom\u600e\u4e48\u8fd0\u884c\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>atom\u4e2d\u8fd0\u884cpython\u4ee3\u7801\u7684\u6b65\u9aa4\uff1a\u5728\u7cfb\u7edf\u4e2d\u5b89\u88c5python\u89e3\u91ca\u5668\u3002\u5728atom\u4e2d\u5b89\u88c5\u201cpython-run\u201d\u5305\u4ee5\u914d\u7f6epython\u3002\u9009\u4e2d\u8981\u8fd0\u884c\u7684python\u4ee3\u7801\uff0c\u6309\u4e0bctrl+enter\uff08windows\/linux\uff09\u6216cmd+enter\uff08macos\uff09\u8fd0\u884c\u3002 Atom\u4e2d\u8fd0\u884cPython Atom\u662f\u4e00\u6b3e\u529f\u80fd\u5f3a\u5927\u7684\u6587\u672c\u7f16\u8f91\u5668\uff0c\u5b83\u63d0\u4f9b\u8bb8\u591a\u529f\u80fd\uff0c\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fd0\u884cPython\u4ee3\u7801\u3002 \u5b89\u88c5Python\u89e3\u91ca\u5668 \u8981\u8fd0\u884cPython\u4ee3\u7801\uff0c\u4f60\u9700\u8981\u5728\u7cfb\u7edf\u4e2d\u5b89\u88c5Python\u89e3\u91ca\u5668\u3002\u4ee5\u4e0b\u662f\u5728\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u5b89\u88c5Python\u7684\u65b9\u6cd5\uff1a \u7acb\u5373\u5b66\u4e60\u201c\u201d\uff1b Windows: \u4e0b\u8f7d\u5e76\u5b89\u88c5Python\u5b89\u88c5\u7a0b\u5e8f\uff08https:\/\/www..org\/downloads\/\uff09\u3002 MacOS: \u4f7f\u7528Homebrew\uff08https:\/\/brew.sh\/\uff09\u5b89\u88c5Python\uff1abrew install python3 Linux: \u4f7f\u7528\u8f6f\u4ef6\u5305\u7ba1\u7406\u5668\u5b89\u88c5Python\uff1asudo apt-get install python3\uff08Ubuntu\uff09\u6216 sudo yum install python3\uff08CentOS\uff09 \u5728Atom\u4e2d\u914d\u7f6ePython \u5b89\u88c5Python\u89e3\u91ca\u5668\u540e\uff0c\u4f60\u9700\u8981\u914d\u7f6eAtom\u4ee5\u4f7f\u7528\u5b83\u3002 \u6253\u5f00Atom\uff0c\u7136\u540e\u8f6c\u5230\u201c\u5305\u201d\u83dc\u5355\u3002 \u641c\u7d22\u201cpython-run\u201d\u5305\u5e76\u5b89\u88c5\u3002 \u91cd\u542fAtom\u3002 \u8fd0\u884cPython\u4ee3\u7801 \u73b0\u5728\uff0c\u4f60\u53ef\u4ee5\u8fd0\u884cPython\u4ee3\u7801\u4e86\u3002\u4ee5\u4e0b\u662f\u5982\u4f55\u64cd\u4f5c\uff1a \u5728Atom\u4e2d\u6253\u5f00\u4e00\u4e2aPython\u6587\u4ef6\u3002 \u9009\u4e2d\u8981\u8fd0\u884c\u7684\u4ee3\u7801\u5757\u3002 \u6309\u4e0bCtrl+Enter\uff08Windows\/Linux\uff09\u6216Cmd+Enter\uff08MacOS\uff09\u3002 Atom\u5c06\u4f7f\u7528\u4f60\u914d\u7f6e\u7684Python\u89e3\u91ca\u5668\u8fd0\u884c\u4ee3\u7801\uff0c\u5e76\u5728Atom\u63a7\u5236\u53f0\u4e2d\u663e\u793a\u8f93\u51fa\u3002 \u9644\u52a0\u529f\u80fd Atom\u7684python-run\u5305\u8fd8\u63d0\u4f9b\u8bb8\u591a\u5176\u4ed6\u529f\u80fd\uff0c\u4f8b\u5982\uff1a \u8bed\u6cd5\u9ad8\u4eae\u548c\u4ee3\u7801\u81ea\u52a8\u5b8c\u6210 \u8fd0\u884c\u6574\u4e2a\u6587\u4ef6\u6216\u9009\u5b9a\u7684\u4ee3\u7801\u5757 \u663e\u793a\u9519\u8bef\u548c\u8b66\u544a\u6d88\u606f \u5728\u4ea4\u4e92\u5f0fPython\u4f1a\u8bdd\u4e2d\u8c03\u8bd5\u4ee3\u7801 \u8fd9\u4e9b\u529f\u80fd\u53ef\u4ee5\u8ba9\u5728Atom\u4e2d\u8fd0\u884cPython\u4ee3\u7801\u66f4\u52a0\u65b9\u4fbf\u548c\u9ad8\u6548\u3002 \u4ee5\u4e0a\u5c31\u662fatom\u600e\u4e48\u8fd0\u884c\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-21642","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/21642","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=21642"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/21642\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=21642"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=21642"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=21642"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}