Ask HN: Best Free Python Editor?
I recently started working in Python and reached straight for VSCode, because it's been so great for other languages. But its Python plugin is... extremely underwhelming. MyPy/Pylint checks don't run until you save, take several seconds, and don't even place the underlines in the right place; they all end up at the start of the line. Autocomplete support is minimal.
I know PyCharm exists, but is there a free editor that does a better job than VSCode?
Edit: Excluding text-based editors (vi/emacs); I'm not a fan
62 comments
[ 3.7 ms ] story [ 142 ms ] threadIt works hand-in-hand with the Python extension and makes VS Code a fantastic Python editor IMO. You may want to set pyright.disableLanguageServices in settings since there is some overlap in the Pyright and Python extensions that can result in duplicate results. (I'm not sure if you lose any Pyright features when you do this though...)
[0] https://marketplace.visualstudio.com/items?itemName=ms-pyrig...
I always pip install flake8 in my venvs and the standard Python extension can also use that just fine:
Still, using VSCode for Python is better than using a different editor just for Python, but it's frustrating that so many basic things are almost, but not quite, fully functional.
Note that PyCharm also has a VIM plugin that is the best VIM plugin I've used on any editor. It does 95% of what I would do in real VIM.
I figured he was just cocky or he just didn't understand people in general.
The huge downside of emacs is it's Huge learning curve. The rest is not fluff because the rest roughly have zero curve.
For me, the huge downside of emacs is the not-very-fast single-threaded virtual machine with dynamic scope and one huge global namespace. It does an incredible number of cool things, some of them you can't find anywhere else, but I always end up bailing for an editor where I can reliably type and have characters show up instantly.
But I guess you've never heard of Larry Tesler or Jeff Raskin, either.
Do you also "(honestly)" believe Trump was being sarcastic when he told everyone to inject bleach?
https://github.com/JetBrains/intellij-community/tree/master/...
Then again, I use command line tools for linting etc. so I don't need a lot built-in to the editor.
How about both together? => https://www.spacemacs.org/
The git integration under https://magit.vc/ alone is worth the price of admission.
“Built with rich support for the Python language (for all actively supported versions of the language: 2.7, >=3.5), including features such as linting, IntelliSense, code navigation, code formatting, refactoring, snippets, and more!”
https://www.pydev.org/
but, you know, if you don't want to try, then don't
I prefer Atom. Simple, fast, and pretty.