emacs_tutorial/doc/python_in_emacs.org
2023-07-19 11:32:59 -03:00

1.4 KiB

Using Python in emacs

There are different approaches to use python in emacs. You may use python mode (python.el) that is a default mode for using Python within emacs. If you open a file having a .py extension emacs will initialize python mode.

There are additional packages that may be used as alternative to this mode like python-mode.el or elpy.

Basic functionalities of python modes allow the user to use code completion and navigation, syntax checking and additional options.

Python mode

Python-mode.el is a mode that extends some functionalities to work with Python in emacs.

Elpy

Pydoc

Pydoc would allow to

Syntax checking

You may use syntax checkers such as: