Good Editor For Python Mac

Writing Python using IDLE or the Python Shell is great for simple things, but those tools quickly turn larger programming projects into frustrating pits of despair. Using an IDE, or even just a good dedicated code editor, makes coding fun—but which one is best for you? Fear not, Gentle Reader! I find that just going with a text editor that can offer autocompletion and text highlighting (like sublime) + a console is best for most Python projects. If you need to do stuff like remote debugging (IE, if you're using Django) you may want to use a good IDE, such as PyCharm. Vim, if you want a powerful command line editor with a learning curve. Sublime Text if you want a powerful GUI editor without a learning curve, which isn't free however. Atom if you want the power of Sublime Text but slower and less stable.

We all use text editors to take notes, save web addresses, write code, as well as other uses. Every operating system comes with a default, basic text editor, but most of us install our own enhanced text editors to get more features.

In this article, we’ve gathered links to many different text editors used for different purposes. You can use text editors for basic text editing and taking notes, writing programming code, producing LaTeX documents, writing a book, among many other uses.

Notepad and WordPad Replacements

Are you looking for more capabilities than the default Notepad in Windows? Would you rather use a graphical text editor in Linux, rather than the built-in vi? There are many options for useful text editors out there.

Some employ a tabbed interface, such as Jarte (which is based on the WordPad word processing engine and integrates easily with WordWeb), EditPad Lite (which also has the automatic backup), and Notetab Light (which can also calculate the value of mathematical expressions entered in the program). Jarte, EditPad Lite, and Notetab Light are all only available for Windows. Jarte is also available as a portable program.

Typically, Vi is the default text editor in Linux operating systems and it’s a keyboard intensive program with no graphical user interface (GUI). A good text editor for Windows that has hotkeys available for its 312 text-processing functions, innovative features, and timesaving tools is TED Notepad, which is also available as a portable program. Emacs is also available for both Windows and Linux, and is customizable. It also includes a file compare utility and a file manager. You can also add Org-mode to Emacs, which is a personal information management and outlining tool. If you prefer text editors with GUIs, Vim and gEdit are both good options and are available. Vim is essentially the graphical version of Vi. For help editing text files in Vi or Vim, see our Beginner’s Guide.

GetDiz is a Notepad replacement for Windows that allows you to edit many text files quickly from within Windows Explorer and has enhanced functionality for dealing with DIZ and NFO files. It can also display ASCII art correctly. Another ASCII text formatter for Windows is TextMorph, which can also convert text to and from HTML and clean up emails (remove all the “>” symbols, etc.), and search and replace by words or multiple paragraphs.

Programmer’s Text Editors

There are many text editors that provide useful functionality for programmers. Most support syntax highlighting for many programming languages, multiple document editing, and are extendable with plugins. Some also allow editing of remote files through FTP.

PSPad not only supports syntax highlighting, but also matching bracket highlighting for most popular programming languages. It also has a hex editor, macro recorder, and a differencing tool. PSPad also easily integrates with the free version of the TopStyle CSS editor. Notepad++ also supports bracket highlighting and macro recording. It also supports syntax folding and is highly customizable through plugins using the included plugin manager. Both PSPad and Notepad++ are only available for Windows.

The cross-platform (Windows, Linux, and Mac OS X) editor, jEdit, supports syntax highlighting for over 200 programming languages and auto indent, as well as a differencing utility, an FTP browser, and block selecting. It is also extendable using plugins and macros, and there are hundreds of plugins and macros available through the built-in plugin manager feature.

Programmer’s Notepad for Windows supports syntax highlighting using schemes, both built-in and user-defined, code folding and outlining, a tabbed interface with multi-level split views, and the ability to export to HTML (using CSS) and RTF.

If you like the Vi editor in Linux, but prefer a graphical editor that also serves well as a programmer’s text editor, Editra and Komodo Edit are good options. They both provide Vi emulation, as well as support for syntax highlighting in many programming languages and code folding. Editra has a tabbed interface, allows block (un)commenting and (un)indenting, and is extendable using the built-in plugin downloader/installer. Komodo Edit supports background syntax checking and contains a toolbox with shell command integration, macros, and code snippets. Both Editra and Komodo Edit are available for Windows, Linux, and Mac OS X.

Other options include the following:

  • Crimson Editor – A very small editor for Windows containing a directory tree view window
  • Geany – A small and fast IDE for Windows, Linux, and Mac OS X that supports code folding, code navigation, a build system, and a plugin interface
  • Notepad2 – A fast, light-weight text editor like Notepad for Windows with syntax highlighting and runs as a portable program

Microsoft Word Replacements

There are also free programs that act as replacements for Microsoft Word. They can be used as text editors, but they have more formatting features than simple text editors. You can add images and tables, change fonts and color, and insert hyperlinks.

AbiWord runs on Windows and Linux and can read and write OpenOffice.org documents, Microsoft Word documents, WordPerfect documents, Rich Text Format documents, and HTML web pages. It has advanced document layout options such as tables, bullets, numbered lists, images, styles, footnotes, and endnotes. It even has a Mail Merge utility like Microsoft Word. You can extend AbiWord with a variety of plugins, which can be selected when you install AbiWord. A portable version is also available that you can run from a USB flash drive.

Angel Writer is a small rich text editor for Windows with a high performance rate that allows you to easily create impressive documents.

Minimalist Text Editors

If you get distracted when you write by the plethora of features in text editors and word processors, you might want to try one of the so-called “minimalist” text editors out there. They are “no-frills” editors that either don’t offer any formatting features or many of the other features of modern word processors, and even third-party text editors, or the features are hidden until you want them. Without all the fancy features staring you in the face, you can concentrate on the task of writing. Below is a list of some of the minimalist text editors we found.

  • Dark Room– Available for Windows, requires .NET Framework 2.0, and is available as a portable program.
  • JDarkRoom– Available for Windows, Linux and Mac OS X
  • Q10– Available for Windows and as a portable program
  • CopyWriter– Available for Windows and as a portable program
  • WriteMonkey– Available for Windows and as a portable program
  • Bookwrite– Available for Windows and Linux
  • Scribes– Available for Linux
  • FocusWriter – Available for Windows, Linux and Mac OS X, and as a portable program for Windows

You can even download Word 5.5 from Microsoft for free and run it under DOSBox in Windows.

If you want a simple text editor with the ability to count down from a set word count, try yEdit2 for Windows. If you have to write a certain number of words, yEdit2 can make it easier.

Secure Text Editors

You can also use a text editor as secure place to store private information. There are several text editors that either include encryption as a feature or are specially designed for securely storing text. Notepad++, mentioned in the Programmer’s Text Editors section above, allows you to add encryption functionality using the SecurePad plugin, which is available through the Plugin Manager. SecurePad will encrypt selected text in the current document or the whole document.

Steganos LockNote is a small, simple method for securely storing chunks of information in files. For example, if you purchase a download-only program, you can use LockNote to store the product key or serial number that goes with that program in the same folder, so you always know where to find it.

  • CryptNote – Available for Windows and as a portable program
  • CryptoTE– Available for Windows and Linux, and as a portable program for Windows
  • NotepadCrypt– Available for Windows as a portable program
  • Xint– Available for Windows
  • f0dder’s fSekrit – Available for Windows and as a portable program

LaTeX Editors

Do you write a lot of scientific papers, documents, or books? If so, there are several text editors that allow you to easily use TeX/LaTeX (document markup language and document preparation system) through a graphical interface to create mathematical content and structured documents like academic articles, theses, and books.

  • LaTeX Editor (LEd)– Available for Windows and as a portable program
  • LyX– Available for Windows, Linux, and Mac OS X
  • WinEdt– Available for Windows
  • TeXstudio– Available for Windows, Linux, and Mac OS X and as a portable program on Windows and Mac OS X
  • Texmaker – Available for Windows, Linux, and Mac OS X

Novel Writing Editor

There’s even an editor that’s meant for writing novels, called yWriter5, available for Windows and Linux. It breaks your novel into chapters and scenes, helping you to keep track of your work. However, yWriter5 does not suggest plot ideas, character names, or write any part of your novel for you. The creative task of writing is still up to you, yWriter5 just makes it easier.

One more text editor to mention is Nano in Linux, which is an easy-to-use text editor you run directly on the command line. Nano is installed by default in Ubuntu and many other Linux distros, and is easier to learn than Vi or emacs.

READ NEXT
  • › How to Set Up a Child’s Smart Bedroom
  • › What Does “FOMO” Mean, and How Do You Use It?
  • › How to Fix a Slow or Unresponsive Mac
  • › Windows 10’s Tablet Mode May Be Replaced With the Desktop
  • › How to Quickly Switch Between Gmail Accounts on Android, iPhone, and iPad
Active1 year, 5 months ago

I'm about to start a new job where the coding practices are heavily centered around TDD and refactoring, and whose primary development language is Python. I come from the Java world, and have been a confident user of Eclipse for a good, long time. When not working in Java, I use emacs.

I'm looking for an IDE for Python that will give me a lot of the capabilities I've grown used to with Eclipse, not only for refactoring but in terms of code completion, project management, SCM integration (currently CVS, but likely to switch to git one of these days) et al.

What IDE should I use?

Dave Hillier
10.5k8 gold badges34 silver badges81 bronze badges
Chris RChris R
8,96022 gold badges91 silver badges157 bronze badges

closed as off-topic by l4mpi, jb., Dismissile, Afzaal Ahmad Zeeshan, LarsTechMay 21 '14 at 14:07

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • 'Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.' – l4mpi, jb., Dismissile
If this question can be reworded to fit the rules in the help center, please edit the question.

22 Answers

Have tried many different (Kate, Eclipse, Scite, Vim, Komodo): each one have some glitches, either limited functions, or slow and unresponsive. Final choice after many years: Emacs + ropemacs + flymake. Rope project file open dialog is extremely quick. Rope refactoring and code assist functions are super helpful. Flymake shows syntax mistakes. Emacs is the most configurable editor. I am very happy with this config. Python related part of config is here: public.halogen-dg.com browser/alex-emacs-settings/configs/cfg_python.el

user111443user111443

My 2 pennies, check out PyCharmhttp://www.jetbrains.com/pycharm/

Good editor for python mac os

(also multi-platform)

TimTim
1,6522 gold badges13 silver badges12 bronze badges

I use TextMate for all my Python programming needs. It's not an IDE per se, but it does a lot of stuff that an IDE does (without all the cruft of an IDE). It has syntax highlighting, code folding, integration with various SCMs through the use of additional bundles (I know it supports SVN, Git, Mercurial, Darcs, and probably a few others). It's also quite extensible and customizable (again, through the use of bundles). It also has a basic concept of projects. One place where it doesn't shine, though, is in code completion; some bundles have limited support for code completion, but it's generally not as amazing as that of most language-specific IDEs. Given how awesome TextMate is, though, I don't know sacrificing that. TextMate's definitely made me much more productive.

Python Editor For Windows 10

mipadimipadi
305k71 gold badges472 silver badges454 bronze badges

Pydev for Eclipse, as others have mentioned, is good.

Netbeans has a beta Python plugin that is a little rough around the edges, but could turn into something really cool.

Additionally there is a long list of programming centric text editors for the mac, that may or may not fit your needs.

Python Text Editor Mac

  • Textmate - costs money, people love this program, but I haven't used it enough to see what all the fuss is about.
  • Jedit - Java based text editor, has some nice features, but the startup time isn't great (due to Java).
  • CarbonEmacs - Decent Emacs port.
  • AquaEmacs - Better Emacs port.
  • TextWrangler - Lite, free (as in beer) verision of BBEdit.
  • BBEdit - The old guard. The defacto editor before Textmate stole its limelight. Expensive.
  • Smultron - Very nice editor, the UI is similar to Textmate.
  • Idle - Python's own little editor, has some nice features, but also some major problems. I've personally found it too unstable for my usage.
  • Sublime Text - This is really sweet text editor that has some surprisingly good Python support.
  • Pycharm - Another solid full on IDE for Python.
zekel
5,4527 gold badges52 silver badges91 bronze badges
James McMahonJames McMahon
31.5k58 gold badges177 silver badges263 bronze badges

Eclipse with Pydev works best for me on any platform.

ismailismail
36.4k8 gold badges72 silver badges88 bronze badges

I really enjoy using PyCharm. http://www.jetbrains.com/pycharm/

jdsantiagojrjdsantiagojr

I usually use either komodo edit or aquamacs with ropemacs. Although I should warn you, IDE features won't be what you're used to if you're coming from a Java or C# background. I personally find that powerful IDEs get in my way more than they help.

UPDATE: I should also point out that if you have the money Komodo IDE is worth it. It's the paid version of Komodo Edit.

Jason BakerJason Baker
112k112 gold badges340 silver badges493 bronze badges
lostlogiclostlogic

I like Spyder, it has many tools, such as profiling, intelligent indentation helper and a good autocompletion support

linellolinello
3,7198 gold badges51 silver badges86 bronze badges

If you have a budget for your IDE, you should give Wingware Professional a try, see wingware.com .

Alex MartelliAlex Martelli
660k135 gold badges1061 silver badges1293 bronze badges

I've used WingIDE and have been very happy. Intellisense is pretty good, some other things are a bit wacky but overall it's a very productive tool

jeanjean
7461 gold badge5 silver badges14 bronze badges

If you are looking for an interactive environment and not needing to code modules, I would suggest IPython. Though this is developed with scientists/statisticians in mind, it will run just as well without any of the scientific packages installed. The features are powerful, with code completion, integrated help, integrated debugging, etc., and it functions as a notebook with Markdown and MathJax integration. By far the best choice for those that need powerful features without wishing to load megabytes of GUI into RAM--since it is browser based, it is used in your always loaded chrome/safari instance. ;-)

DallasDallas
4492 gold badges6 silver badges21 bronze badges

Eclipse PyDev plugin.

jbaskojbasko
5,0881 gold badge26 silver badges42 bronze badges

since you are familiar with Eclipse maybe you are interested in Pydev

KonstantinosKonstantinos

Best Editor For Python

8,7639 gold badges43 silver badges58 bronze badges

Python support on netbeans is surprisingly good, and comes with most of the features you're looking for.

Up.Up.

TextMate or Panic's Coda. NetBeans works very well, if you want a full-blown kitchen sink IDE.

Jeff OberJeff Ober

I've searched on Google for an app like this for a while, and I've found only options with heavy and ugly interfaces.

Then I opened Mac App Store and found CodeRunner. Very nice and clean interface. Support many languages like Python, Lua, Perl, Ruby, Javascript, etc. The price is U$10, but it's worth it!

Jan K. S.Jan K. S.
1,3311 gold badge11 silver badges13 bronze badges

'Which editor/IDE for ...?' is a longstanding way to start a 'My dog is too prettier than yours!' slapfest. Nowadays most editors from vim upwards can be used, there are multiple good alternatives, and even IDEs that started as C or Java tools work pretty well with Python and other dynamic languages.

That said, having tried a bunch of IDEs (Eclipse, NetBeans, XCode, Komodo, PyCharm, ...), I am a fan of ActiveState's Komodo IDE. I use it on Mac OS X primarily, though I've used it for years on Windows as well. The one license follows you to any platform.

Komodo is well-integrated with popular ActiveState builds of the languages themselves (esp. for Windows), works well with the fabulous (and Pythonic) Mercurial change management system (among others), and has good-to-excellent abilities for core tasks like code editing, syntax coloring, code completion, real-time syntax checking, and visual debugging. It is a little weak when it comes to pre-integrated refactoring and code-check tools (e.g. rope, pylint), but it is extensible and has a good facility for integrating external and custom tools.

Some of the things I like about Komodo go beyond the write-run-debug loop. ActiveState has long supported the development community (e.g. with free language builds, package repositories, a recipes site, ...), since before dynamic languages were the trend. The base Komodo Edit editor is free and open source, an extension of Mozilla's Firefox technologies. And Komodo is multi-lingual. I never end up doing just Python, just Perl, or just whatever. Komodo works with the core language (Python, Perl, Ruby, PHP, JavaScript) alongside supporting languages (XML, XSLT, SQL, X/HTML, CSS), non-dynamic languages (Java, C, etc.), and helpers (Makefiles, INI and config files, shell scripts, custom little languages, etc.) Others can do that too, but Komodo puts them all in once place, ready to go. It's a Swiss Army Knife for dynamic languages. (This is contra PyCharm, e.g., which is great itself, but I'd need like a half-dozen of JetBrains' individual IDEs to cover all the things I do).

Komodo IDE is by no means perfect, and editors/IDEs are the ultimate YMMV choice. But I am regularly delighted to use it, and every year I re-up my support subscription quite happily. Indeed, I just remembered! That's coming up this month. Credit card: Out. I have no commercial connection to ActiveState--just a happy customer.

Jonathan EuniceJonathan Eunice
12k3 gold badges51 silver badges61 bronze badges

You might want to look into Eclim, an Eclipse server that allows you to use Eclipse functionality from within your favorite text editor. For python-related functionality, it uses Rope, PyFlakes, and PyLint under the hood.

mindthiefmindthief
4,97613 gold badges46 silver badges55 bronze badges

I've been using an Evaluation copy of Sublime Text. What's good is it doesn't really expire.

It's been good so far and was really easy to get started with.

Python On The Mac

Sagar HatekarSagar Hatekar
6,22514 gold badges49 silver badges72 bronze badges

I may be a little late for this, but I would recommend Aptana Studio 3.x . Its a based on eclipse and has everything ready-to-go for python. It has very good support for DJango, HTML5 and JQuery. For me its a perfect web-development tool. I do HTML5 and Android development too, this way I do not need to keep switching different IDE's. It my all-in-one solution.

Note: you need a good amount of RAM for this to be snazzy !! 4+ GB is awesome !!

Best Python Editor

Freakyuser
1,77115 gold badges40 silver badges65 bronze badges
NavNav

Visual Studio Code + Official Python Plugin

Here you see an overview of its current Python features:

Chocolat

It's lightweight and offers Code Completion. Costs money.

EDIT:Apparently Chocolat was an interesting option in 2013 but since then many others came up and development stalled. Nowadays I recommend Visual Studio Code + Python Plugin.

BijanBijan
20.2k5 gold badges68 silver badges64 bronze badges

Not the answer you're looking for? Browse other questions tagged pythonmacoside or ask your own question.