目前市面上最流行的Python IDE是哪一款?有什么优点?
python学习,程序员
回复内容:
IDE 的话我目前用的最顺手的是 PyCharm,基本上该有的功能都有了,速度也很快,重构很方便,补全强大,基本上能自动补全的都自动补全了,包括但不限于各种函数名、文件名、关键字等等。集成了很多东西比如 Git 版本管理啊、单元测试啊什么的。有免费的社区版,功能挺全的。专业版还集成了 Web 开发相关的东西。如果你是学生的话可以用学校的邮箱申请一个一年时间的专业版学生许可证。
如果是做科学计算的话推荐 iPython notebook,配合可视化真乃神器。
其他可供选择的还有:
PyDev,好处是定制性强一些,毕竟基于 eclipse。
Spyder,一个类似于 matlab 的 python IDE。习惯用matlab 的人可以选这个。
总之还是推荐 PyCharm PyCharm 啊,毫无疑问. 说pycharm应该没人反对吧 我推荐atom编辑器。为什么推荐atom?因为轻量、没有多余的功能,基于浏览器的编辑器提供十分高的可定制性、基于coffeescript的接口hack十分简单,以及可以完全使用atom完成日常编写代码的绝大多数功能,最重要的是还美观(是的我就是外貌党)。
之前一直用的pycharm,后来觉得pycharm实在太重了就转了sublime,最近用的是由github推出的atom,在使用之间我了解到atom强势的地方在web前端的开发,但是还是决定尝鲜试用一下,使用过后我觉得atom是在我用过的这三个编辑器里最让我满意的,功能支持也很全面,从自动补全,代码规整到断点调试都可以在atom上完成,而我认为具备这些基本的功能就够了,pycharm上的功能我在百分之九十以上的使用时间里都不会用到一次。但是atom一个比较明显的缺点则是需要折腾,大多数功能都得靠插件来完成,而不像pycharm一样都是完全整合好的,看了下目前好像介绍如何用atom来开发python的文章好像不多,所以就简略地写一下atom下python开发需要做的配置吧(主要就是介绍插件部分)。
多图预警
这就是我现在配置好的atom外观:

- 首先是本地化支持:

<span class="c">/* 等宽字体 */</span> <span class="k">@mono-font-family</span><span class="o">:</span> <span class="s2">"ubuntu mono"</span><span class="o">,</span> <span class="s2">"WenQuanYi Micro Hei"</span><span class="p">;</span> <span class="c">/* 非等宽字体 */</span> <span class="k">@font-family</span><span class="o">:</span> <span class="s2">"ubuntu"</span><span class="o">,</span> <span class="s2">"WenQuanYi Micro Hei"</span><span class="p">;</span> <span class="nt">html</span><span class="o">,</span> <span class="nt">body</span><span class="o">,</span> <span class="nt">ol</span><span class="o">,</span> <span class="nt">ul</span><span class="o">,</span> <span class="nt">li</span><span class="o">,</span> <span class="nt">h1</span><span class="o">,</span> <span class="nt">h2</span><span class="o">,</span> <span class="nt">h3</span><span class="o">,</span> <span class="nt">h4</span><span class="o">,</span> <span class="nt">h5</span><span class="o">,</span> <span class="nt">h6</span><span class="o">,</span> <span class="nt">div</span><span class="o">,</span> <span class="nt">p</span><span class="o">,</span> <span class="nt">span</span><span class="o">,</span> <span class="nt">pre</span><span class="o">,</span> <span class="nt">section</span><span class="o">,</span> <span class="nt">input</span><span class="o">,</span> <span class="nt">textarea</span><span class="o">,</span> <span class="nc">.atom-panel</span><span class="o">,</span> <span class="nc">.status-bar</span><span class="o">,</span> <span class="nc">.title</span><span class="o">,</span> <span class="nc">.current-path</span><span class="o">,</span> <span class="nc">.tooltip</span> <span class="p">{</span> <span class="k">font-family</span><span class="o">:</span> <span class="o">@</span><span class="k">font-family</span><span class="p">;</span> <span class="p">}</span> <span class="nc">.autocomplete-plus</span> <span class="nt">span</span><span class="o">,</span> <span class="nt">code</span><span class="o">,</span> <span class="nc">.atom-text-edtor</span> <span class="p">{</span> <span class="k">font-family</span><span class="o">:</span> <span class="o">@</span><span class="n">mono</span><span class="o">-</span><span class="k">font-family</span><span class="p">;</span> <span class="p">}</span>
现在搞OpenStack,就是纯Vim+插件 试试vs2015?
高大全,对Python的插件很多。
而且,汉化好(自以为很重要)
就是只写Python不太有必要
VS2013也不错,相比之下2015只支持Windows8/8.1/10
xp们就别想了 作为一个没ssd的,启动pycharm的速度十分感人 canopy...不知道为什么用的人这么少呢,有学生版 Canopy Subscription Options emacs+elpy+ipython

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

To generate images through XML, you need to use graph libraries (such as Pillow and JFreeChart) as bridges to generate images based on metadata (size, color) in XML. The key to controlling the size of the image is to adjust the values of the <width> and <height> tags in XML. However, in practical applications, the complexity of XML structure, the fineness of graph drawing, the speed of image generation and memory consumption, and the selection of image formats all have an impact on the generated image size. Therefore, it is necessary to have a deep understanding of XML structure, proficient in the graphics library, and consider factors such as optimization algorithms and image format selection.

The speed of mobile XML to PDF depends on the following factors: the complexity of XML structure. Mobile hardware configuration conversion method (library, algorithm) code quality optimization methods (select efficient libraries, optimize algorithms, cache data, and utilize multi-threading). Overall, there is no absolute answer and it needs to be optimized according to the specific situation.

An application that converts XML directly to PDF cannot be found because they are two fundamentally different formats. XML is used to store data, while PDF is used to display documents. To complete the transformation, you can use programming languages and libraries such as Python and ReportLab to parse XML data and generate PDF documents.

There is no APP that can convert all XML files into PDFs because the XML structure is flexible and diverse. The core of XML to PDF is to convert the data structure into a page layout, which requires parsing XML and generating PDF. Common methods include parsing XML using Python libraries such as ElementTree and generating PDFs using ReportLab library. For complex XML, it may be necessary to use XSLT transformation structures. When optimizing performance, consider using multithreaded or multiprocesses and select the appropriate library.

It is impossible to complete XML to PDF conversion directly on your phone with a single application. It is necessary to use cloud services, which can be achieved through two steps: 1. Convert XML to PDF in the cloud, 2. Access or download the converted PDF file on the mobile phone.

There is no built-in sum function in C language, so it needs to be written by yourself. Sum can be achieved by traversing the array and accumulating elements: Loop version: Sum is calculated using for loop and array length. Pointer version: Use pointers to point to array elements, and efficient summing is achieved through self-increment pointers. Dynamically allocate array version: Dynamically allocate arrays and manage memory yourself, ensuring that allocated memory is freed to prevent memory leaks.

Use most text editors to open XML files; if you need a more intuitive tree display, you can use an XML editor, such as Oxygen XML Editor or XMLSpy; if you process XML data in a program, you need to use a programming language (such as Python) and XML libraries (such as xml.etree.ElementTree) to parse.

XML formatting tools can type code according to rules to improve readability and understanding. When selecting a tool, pay attention to customization capabilities, handling of special circumstances, performance and ease of use. Commonly used tool types include online tools, IDE plug-ins, and command-line tools.
