Alan Richmond

Editors & IDEs

A text editor is all very well for simple notes, but for programming the basic text editor will quickly become very tedious. For example, Python uses code indentation to indicate ‘blocks’, using tabs or spaces (4 spaces recommended for each level of indentation). It will help a lot if the editor you use ‘knows’ Python! It will help not only with indentation but also guide you in your programming. They range from lightweight editors to sophisticated Interactive (or Integrated) Development Environments (IDEs). At this stage you’ll find a fully-featured IDE confusing, they have lots of buttons and tabs and panes. Like the cockpit of a Space Shuttle rather than the dashboard of a car!

The boundary between editor and IDE is very indistinct and I’m not going to try to be formal about it other than saying that the more of these features it has, the more it qualifies as an IDE:

I spent a considerable amount of time researching Python editors & IDEs. I had to eliminate many based on how difficult it was to get them to use Python 3 instead of 2, and how complex or cumbersome they might be for people who aren’t computer professionals, such as students & teachers. The following, in my opinion, are all suitable for the classroom or beginning programmers of any age. Try them all if you can, and do please let me know in the comments how you got on, or if you know any others I should consider including. They are all free, except Sublime Text, which has an infinitely long ‘evaluation period’. All of them welcome contributions!


IDLE is the Python IDE built with the tkinter GUI toolkit. IDLE has the following features:

  • coded in 100% pure Python, using the tkinter GUI toolkit
  • cross-platform: works on Windows, Unix, and Mac OS X
  • multi-window text editor with multiple undo, Python colorizing, smart indent, call tips, and many other features
  • Python shell window (a.k.a. interactive interpreter)
  • debugger (not complete, but you can set breakpoints, view and step)


Geany is a text editor using the GTK2 toolkit with basic features of an integrated development environment. It was developed to provide a small and fast IDE, which has only a few dependencies from other packages. It supports many filetypes and has some nice features.


gedit is the GNOME text editor. While aiming at simplicity and ease of use, gedit is a powerful general purpose text editor. Features:

  • Full support for internationalized text (UTF-8)
  • Configurable syntax highlighting for various languages (C, C++, Java, HTML, XML, Python, Perl and many others)
  • etc


NINJA-IDE (from the recursive acronym: “Ninja-IDE Is Not Just Another IDE”), is a cross-platform integrated development environment (IDE). NINJA-IDE runs on Linux/X11, Mac OS X and Windows desktop operating systems, and allows developers to create applications for several purposes using all the tools and utilities of NINJA-IDE, making the task of writing software easier and more enjoyable.

Spyder IDE

Spyder is an open source cross-platform IDE for scientific programming in the Python language. Spyder integrates NumPy, SciPy, Matplotlib and IPython, as well as other open source software. In comparison with other IDEs for scientific development Spyder has a unique set of features – cross-platform, open-source, written in Python and available under non-copyleft license. My personal choice.

Sublime Text

Sublime Text is a cross-platform text and source code editor with a Python application programming interface (API). It natively supports many programming languages and markup languages, and its functionality can be extended by users with plugins, typically community-built and maintained under free-software licenses. Sublime Text is proprietary software.


PyCharm’s smart code editor provides first-class support for Python, JavaScript, CoffeeScript, TypeScript, CSS, popular template languages and more. Take advantage of language-aware code completion, error detection, and on-the-fly code fixes!

PyCharm used to be my IDE of choice, but I found start-up too slow, and being project-based it creates extra files, and has lots of features (and thus tabs & buttons & panes) I didn’t want. But it’s a very strong favourite among professional developers, with good reason. Check it out after all the above!

[welcomewikilite wikiurl=”” sections=”Short description” settings=””]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.