Binary package “python-mode” in ubuntu bionic
Python mode for GNU Emacs and XEmacs
Provides a major mode for GNU Emacs and XEmacs to edit, debug, and develop
Python programs and doctests.
.
If you install this with XEmacs 21, it will replace the included
python-mode.el, which may or may not be a more recent version
(use "C-h v py-version" to compare).
.
Since this package automagically loads after Python mode shipped with
GNU emacs >= 22, installation of this package makes python-mode's
mode the default for editing Python code in emacs.