How to Install and Uninstall python-editor Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: September 20,2024

1. Install "python-editor" package

This guide covers the steps necessary to install python-editor on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-editor

2. Uninstall "python-editor" package

Learn how to uninstall python-editor on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove python-editor $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-editor package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python-editor
Priority: optional
Section: universe/python
Installed-Size: 20
Maintainer: Ubuntu Developers
Original-Maintainer: PKG OpenStack
Architecture: all
Version: 0.4-2
Depends: python-six, python:any (<< 2.8), python:any (>= 2.7.5-5~)
Filename: pool/universe/p/python-editor/python-editor_0.4-2_all.deb
Size: 4024
MD5sum: f75c6caebf9eb045aa71c4315846e7dd
SHA1: 41cdb85ad7dcbbf7722045c50e31370f5783c018
SHA256: 49ba24ee97ced892435c7640354f9050ec05201488846a756544a4821187e5de
Description-en: programmatically open an editor, capture the result - Python 2.7
python-editor is a library that provides the editor module for
programmatically interfacing with your system's $EDITOR. The user can then
enter a commit message for example.
.
Editor first looks for the environment variable. If set, it uses
the value as-is, without fallbacks. If no $EDITOR is set, editor will search
through a list of known editors, and use the first one that exists on the
system. For example, on Linux, editor will look for the following editors in
order:
* vim
* emacs
* nano
.
When calling the edit() function, editor will open the editor in a
subprocess, inheriting the parent process's stdin, stdout
.
This package contains the Python 2.7 module.
Description-md5: 533f2d7e43a0c38284bbb68647e9fc1b
Homepage: https://github.com/fmoo/python-editor
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu