In this video cover the absolute minimum setup for doing Python development in Spacemacs.

  • Start off with a discussion of Python virtualenvs and how to get them set up correctly for Spacemacs.

  • Then a discussion of code completion.

  • Afterwards show how to explore and fix issues found by a linter (flake8)

  • And then go over how to run scripts from inside emacs.

  • Finally demonstrate a language server based completion backend.

Post Editing Notes:

  1. spc spc and then workon to find the command for switching virtualenvs. It’s not clear in the video. Apologies for that.

  2. the packages I install are flake8 isort yapf python-language-server

#python

Python Development in Spacemacs
3.10 GEEK