An Emacs IDE For Python

I’m not much of an IDE fan but many (most?) people are and want, in particular, to have some LSP integration for their favorite language. Lots of folks are using Python these days either as a quick-and-dirty scripting language or as their main programming language.

If your personal Venn diagram intersects with those two sets as well as the Emacs users set, The Emacs Cat has a useful post that describes his configuration for an Emacs-based Python IDE. It seems like a nice setup but doubtless some people will carp that there are better Pythons IDEs outside of the Emacs sphere.

Such a claim begs the question, “What do you mean by better?” It probably means that the LSP-like functions are better, that it can complete your partial library function better, or something similar. The thing is, you won’t be in Emacs and you won’t have all the unexcelled Emacs editing capabilities. Those are, to me, much more important than function completions and the like.

Still, it’s possible to have both and The Emacs Cat shows you how to do that. For whatever reason, Python has always been difficult in Emacs so it’s nice to see a post that gives a usable configuration for it. I’ve written about this before but that was almost 9 years ago before Eglot and Tree-Sitter were part of Emacs. The Cat’s post brings us up to date with what’s available now.

This entry was posted in General and tagged . Bookmark the permalink.