Ubuntu上开发python的十大IDE

原文链接:https://linuxhint.com/python_ide_ubuntu/ <!--一个博主专栏付费入口结束--> <lin...
摘要由CSDN通过智能技术生成
原文链接: https://linuxhint.com/python_ide_ubuntu/
         <!--一个博主专栏付费入口结束-->
        <link rel="stylesheet" href="https://csdnimg.cn/release/phoenix/template/css/ck_htmledit_views-4a3473df85.css"><style class="darkreader darkreader--cors" media="screen">.htmledit_views address,.htmledit_views cite,.htmledit_views dfn,.htmledit_views em,.htmledit_views i,.htmledit_views span[lang],.htmledit_views var{font-style:italic}.htmledit_views{font-family:-apple-system,SF UI Text,Arial,PingFang SC,Hiragino Sans GB,Microsoft YaHei,WenQuanYi Micro Hei,sans-serif,SimHei,SimSun}.cke_editable{margin:24px;word-wrap:break-word}.htmledit_views img.right{border:1px solid #ccc;float:right;margin-left:15px;padding:5px}.htmledit_views img.left{border:1px solid #ccc;float:left;margin-right:15px;padding:5px}.htmledit_views .marker{background-color:#ff0}.htmledit_views figure{text-align:center;margin:0 24px;display:inline-block}.htmledit_views figure>figcaption{text-align:center;margin:8px;color:#999;font-size:14px;display:block}.htmledit_views a>img{padding:1px;margin:1px;border:none;outline:#0782c1 solid 1px}.htmledit_views .code-featured{border:5px solid red}.htmledit_views .math-featured{padding:20px;box-shadow:0 0 2px rgba(200,0,0,1);background-color:rgba(255,0,0,.05);margin:10px}.htmledit_views .image-clean{border:0;background:0 0;padding:0}.htmledit_views .image-clean>figcaption{font-size:.9em;text-align:right}.htmledit_views .image-grayscale{background-color:#fff;color:#666}.htmledit_views .image-grayscale img,.htmledit_views img.image-grayscale{filter:grayscale(100%)}.htmledit_views .embed-240p{max-width:426px;max-height:240px;margin:0 auto}.htmledit_views .embed-360p{max-width:640px;max-height:360px;margin:0 auto}.htmledit_views .embed-480p{max-width:854px;max-height:480px;margin:0 auto}.htmledit_views .embed-720p{max-width:1280px;max-height:720px;margin:0 auto}.htmledit_views .embed-1080p{max-width:1920px;max-height:1080px;margin:0 auto}.htmledit_views p{font-size:16px;color:#4d4d4d;font-weight:400;line-height:26px;margin:0 0 16px;overflow-x:auto}p[align=center]{text-align:center}.htmledit_views img{max-width:100%}.htmledit_views strong,.htmledit_views strong span{font-weight:700}.htmledit_views *{box-sizing:border-box}.htmledit_views h1,.htmledit_views h2,.htmledit_views h3,.htmledit_views h4,.htmledit_views h5,.htmledit_views h6{color:#4f4f4f;margin:8px 0 16px;font-weight:700}.htmledit_views ol,.htmledit_views ul{margin:0 0 24px;padding:0;font-size:16px}.htmledit_views ul ol{margin:0 0 24px 32px}.htmledit_views ul li{list-style-type:disc;margin:8px 0 0 32px}.htmledit_views ol li{list-style-type:decimal;margin-left:40px;margin-top:8px}.htmledit_views h1{font-size:28px;line-height:36px}.htmledit_views h2{font-size:24px;line-height:32px}.htmledit_views h3{font-size:22px;line-height:30px}.htmledit_views h4{font-size:20px;line-height:28px}.htmledit_views h5{font-size:18px;line-height:26px}.htmledit_views h6{font-size:16px;line-height:24px}.htmledit_views blockquote{display:block;padding:16px 16px 0;margin:0 0 24px;border-left:8px solid #dddfe4;background:#eef0f4;overflow:auto;overflow-scrolling:touch;word-wrap:normal;word-break:normal}.htmledit_views blockquote ol,.htmledit_views blockquote ul{margin-bottom:16px;padding:0;font-size:16px;line-height:24px}.htmledit_views blockquote ol li,.htmledit_views blockquote ul li{margin-bottom:0}.htmledit_views blockquote p{font-size:16px;line-height:26px;font-weight:400;margin-bottom:16px;color:#4f4f4f}.htmledit_views hr{margin:24px 0;border:none;border-bottom:solid #ccc 1px}.htmledit_views table tr{border:0;border-top:1px solid #ddd;background-color:#fff}.htmledit_views table{border-collapse:collapse;display:table;width:100%;text-align:left;margin-bottom:24px;margin-left:auto;margin-right:auto}.htmledit_views tbody{border:0}.htmledit_views table tr:nth-child(2n){background-color:#f7f7f7}.htmledit_views table tr td,.htmledit_views table tr th{border:1px solid #ddd;font-size:14px;color:#4f4f4f;line-height:22px;padding:8px;text-align:left}.htmledit_views table tr td p,.htmledit_views table tr th p{font-size:14px;color:#4f4f4f;margin:0;padding:0;text-align:left;line-height:22px}.htmledit_views table tr th p{font-weight:700}.htmledit_views table tr td code,.htmledit_views table tr th code{white-space:normal;word-break:break-word}.htmledit_views table tr th{font-weight:700;background-color:#eff3f5}.htmledit_views dl{margin:24px}.htmledit_views dl dt{margin:8px;font-weight:700}.htmledit_views dl dt dd{margin:8px}.htmledit_views abbr[data-original-title],.htmledit_views abbr[title]{cursor:help;border-bottom:1px dotted #999}.htmledit_views .initialism{font-size:90%;text-transform:uppercase}.htmledit_views pre{white-space:pre-wrap;word-wrap:break-word;margin:0 0 24px;overflow-x:auto;padding:8px}.marker{background-color:#ff0}htmledit_views img.mathcode{margin:0 8px}.htmledit_views kbd,.htmledit_views pre,.htmledit_views samp{font-family:Consolas,Inconsolata,Courier,monospace;font-size:14px;line-height:22px;color:#000}.htmledit_views code ol li div.hljs-ln-code,.htmledit_views code ol li div.hljs-ln-numbers,.htmledit_views pre code,.htmledit_views pre code div,.htmledit_views pre code span{font-family:"Source Code Pro","DejaVu Sans Mono","Ubuntu Mono","Anonymous Pro","Droid Sans Mono",Menlo,Monaco,Consolas,Inconsolata,Courier,monospace,"PingFang SC","Microsoft YaHei",sans-serif}.htmledit_views code{border-radius:4px}.htmledit_views a{color:#4ea1db;text-decoration:none}.htmledit_views a:focus,.htmledit_views a:hover{color:#ca0c16}.htmledit_views a:visited{color:#6795b5}.htmledit_views .footnote{vertical-align:top;position:relative;top:-4px;font-size:12px}.htmledit_views .flow-chart,.htmledit_views .sequence-diagram{text-align:center;margin-bottom:24px;font-size:14px!important}.htmledit_views .flow-chart [fill="#000"],.htmledit_views .flow-chart [fill="#000000"],.htmledit_views .flow-chart [fill=black],.htmledit_views .sequence-diagram [fill="#000"],.htmledit_views .sequence-diagram [fill="#000000"],.htmledit_views .sequence-diagram [fill=black]{fill:#4f4f4f}.htmledit_views .flow-chart [stroke="#000000"],.htmledit_views .sequence-diagram [stroke="#000000"]{stroke:#4f4f4f}.htmledit_views .MathJax_SVG_Display{text-align:center;margin:24px 0;font-size:18px;font-weight:400;color:#4f4f4f;position:relative;text-indent:0;max-width:none;max-height:none;min-width:0;min-height:0;width:100%}.htmledit_views pre code{display:block;line-height:22px;overflow-x:auto;white-space:pre;word-wrap:normal;border-radius:4px;padding:8px}.htmledit_views pre code:not(.hljs){background-color:#f3f4f5}.htmledit_views pre code,.htmledit_views pre code div,.htmledit_views pre code span{font-size:14px}.htmledit_views .prettyprint,.htmledit_views pre.prettyprint{margin:0 0 24px;padding:8px 16px 4px 56px;background-color:#f6f8fa;border:none}.htmledit_views .prettyprint .pre-numbering{position:absolute;width:48px;background-color:#eef0f4;top:0;left:0;margin:0;padding:8px 0;list-style:none;text-align:right}.htmledit_views .pre-numbering li{padding:0 8px;list-style:none;margin:0}.htmledit_views dl dd{margin:0 0 8px 40px}.htmledit_views kbd{padding:2px 8px;border:1px solid rgba(63,63,63,.25);box-shadow:0 1px 0 rgba(63,63,63,.25);background-color:#fff;color:#333;border-radius:4px;display:inline-block;margin:0 2px;white-space:nowrap}.htmledit_views .dp-highlighter{font-size:12px;text-align:left;margin:0 0 24px}.htmledit_views code ol{margin:0;overflow:hidden}.htmledit_views code ol li{list-style-type:none;margin-left:0;margin-top:0;height:22px}.htmledit_views code ol li div.hljs-ln-code{margin-left:8px}.htmledit_views code ol li div.hljs-ln-code,.htmledit_views code ol li div.hljs-ln-numbers{float:left;height:22px}.htmledit_views code ol li div.hljs-ln-numbers{width:24px;border-right:1px solid #c5c5c5}.htmledit_views code ol li div.hljs-ln-numbers .hljs-ln-line{word-wrap:normal}.htmledit_views code ol.hundred li div.hljs-ln-numbers{width:30px}.htmledit_views code ol.thousand li div.hljs-ln-numbers{width:36px}.htmledit_views .csdn-data-video{width:200px}.htmledit_views .csdn-data-video img{margin:0;display:block;width:200px;height:112px}.htmledit_views .csdn-data-video p{margin-top:10px;margin-bottom:0;font-size:14px}.htmledit_views pre[data-from=code-for-outside]{overflow:hidden}.htmledit_views pre[data-from=code-for-outside] code{overflow-x:auto;overflow-y:hidden}.htmledit_views pre[data-from=code-for-outside] code *{overflow:visible;overflow-wrap:break-word}.htmledit_views pre[data-from=code-for-outside] p code{padding:0}</style><style class="darkreader darkreader--sync" media="screen"></style>
                                    <div id="content_views" class="markdown_views prism-atom-one-dark">
                <!-- flowchart 箭头图标 勿删 -->
                <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
                    <path stroke-linecap="round" d="M5,0 0,2.5 5,5z" id="raphael-marker-block" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path>
                </svg>
                                        <p>Python是最广泛使用的通用编程语言之一。您每天使用的许多流行网站或应用程序软件都是由Python提供支持的。这种编程语言流行的原因是它简单易懂。就像新程序员一样,我开始使用Python进行编程,但它仍然是我首选和最喜欢的编程语言。有许多集成开发环境(IDE)可用于Python编辑和编程。我个人更喜欢Ubuntu终端上的Vim,但是有许多像PyCharm,GNU Emacs和PyZo这样的IDE可用于Ubuntu。所以今天我们将逐一讨论这些IDE。</p>

1. vim

Vim是我在大学项目中的首选IDE,即使是今天,因为它使得编程等繁琐的任务非常简单和愉快。它不仅仅是我,但Vim被许多开发人员和Linux用户使用,因为它是非常快速且高度可定制的IDE。更重要的是,Vim使调试任务更容易,并且支持许多工具和插件。

vim

Vim既可以用作独立应用程序,也可以用作命令行界面。许多新用户可能会发现最初很难使用,但是一旦你习惯了它,你会喜欢在Vim上编程。

$ sudo apt-get install vim

 
 
 
  • 1

2.PyCharm

PyCharm是非常受欢迎的跨平台Python IDE,它有两个编辑,即社区和专业版。社区版是免费和开源的,而专业版是付费的。它是高度可定制且功能丰富的IDE,具有集成单元测试和Python调试器,错误突出显示,代码分析等功能,您可以在IDE中获得这些功能。

PyCharm

与其他Python IDE相比,Pycharm拥有最好的GUI之一,可能是专业开发人员的不错选择。它可以在Snap包下用于最新版本的Ubuntu,可以直接从Ubuntu软件中心下载。

$ sudo snap install pycharm-community –classic

 
 
 
  • 1

3. Eric

Eric是一个用Python编写和开发的开源集成开发环境。它是一个跨平台的IDE,支持许多编程语言,包括Python。 Eric IDE捆绑了许多功能,包括代码自动完成,错误突出显示,集成的Python调试器,高级搜索,语法高亮等。

Eric

Eric拥有简单但高度可定制的GUI,支持插件和扩展。它还运行你将找不到任何IDE集成的类浏览器。

$ sudo apt-get install eric

 
 
 
  • 1

4. Pyzo

Pyzo是一个基于Python的开源编程环境。它使用conda来管理Python包。它是简单的交互式IDE,但它的功能并没有妥协。一些功能包括语法高亮,缩进指南,类似UI的Matlab,拖放文件和目录等。
Pyzo

Pyzo还提供交互式帮助,文件浏览器以及对所有主要编程语言的支持。 Pyzo可以从Software Center或terminal命令下载和安装。

$ sudo apt-get update
$ sudo apt-get install python3-pip python3-pyqt4
$ sudo python –m pip install pyzo –upgrade

 
 
 
  • 1
  • 2
  • 3

安装完成后,运行以下命令启动Pyzo IDE。

$ pyzo

 
 
 
  • 1

5. Spyder

Spyder是一个跨平台的集成开发环境,专为Python中的科学编程而设计。它是多语言IDE,具有代码自动完成,语法高亮,代码分析,水平和垂直分割等功能。

Spyder

Spyder具有基于布局的UI,使其易于导航并易于为新用户使用。它还支持IPython,NumPy,SciPy和许多其他开源软件。

$ sudo apt-get install spyder

 
 
 
  • 1

6. GNU Emacs

GNU Emacs是一个在GNU项目下开发的集成开发环境,它是一个跨平台的代码编辑器。它是可自定义的代码编辑器,支持开箱即用的Python编程语言。它是python中可用于编程的最强大的IDE之一。

GNU Emacs

GNU Emacs具有简单的用户界面,可提供出色的最终用户体验。 Emacs不仅限于编程,因为您可以将其用于网页浏览,电子邮件等。

$ sudo add-apt-repository ppa:kelleyk/emacs
$ sudo apt-get update
$ sudo apt-get install emacs

 
 
 
  • 1
  • 2
  • 3

7. Atom

Atom是一个免费的开源文本编辑器,具有任何集成开发环境等功能。它由GitHub开发,支持几乎所有主要的编程语言,包括Python。通过安装一些扩展和插件,您可以将类似IDE的功能引入Atom。

ATOM

Atom具有灵活的用户界面,并提供自动完成,语法突出显示,诊断等功能。

$ sudo add-apt-repository ppa:webupd8team/atom
$ sudo apt-get update
$ sudo apt-get install atom

 
 
 
  • 1
  • 2
  • 3

8. PyDev (Eclipse)

PyDev是Eclipse的第三方插件,它是为Python中的科学编程而开发的集成开发环境。它提供代码分析,图形调试,代码重构等功能。

PyDev

由于PyDev集成在Eclipse中,因此它具有非常好的用户界面。它还与PyLint集成。要使用PyDev,您只需要从Ubuntu软件中心安装Eclipse并添加PyDev插件即可。

9. Wing

Wing是由Wingware开发的IDE,它是专门设计的Python编程语言。 Wing提供许多功能,如自动完成,自动编辑,源浏览器,代码导航和本地以及远程调试。

Wing

Wing拥有灵活的用户界面,一切都完美无缺,您可以轻松找到您想要的任何内容。

从这里下载Wing包

10. Thonny

Thonny是一款专为初学者设计的简单IDE。它具有简单易用的用户界面,具有一些基本功能,如调试器

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值