python-editor - programmatically open an editor, capture the result - Python 2.7

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Universe amd64
Package name: python-editor
Package version: 0.4
Package release: 2
Package architecture: all
Package type: deb
Installed size: 20 B
Download size: 3.93 KB
Official Mirror:
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.



    Source package: python-editor

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install python-editor deb package:
      # sudo apt-get install python-editor


    • /usr/lib/python2.7/dist-packages/
    • /usr/lib/python2.7/dist-packages/python_editor-0.4.egg-info/PKG-INFO
    • /usr/lib/python2.7/dist-packages/python_editor-0.4.egg-info/dependency_links.txt
    • /usr/lib/python2.7/dist-packages/python_editor-0.4.egg-info/top_level.txt
    • /usr/share/doc/python-editor/changelog.Debian.gz
    • /usr/share/doc/python-editor/copyright


    2015-12-02 - Thomas Goirand <> python-editor (0.4-2) unstable; urgency=medium * Added patch to search for /usr/bin/editor (Closes: #802232).

    2015-09-04 - Thomas Goirand <> python-editor (0.4-1) unstable; urgency=medium * Initial release. (Closes: #798009)