Skip to content
Sections
>> Trisquel >> Paketit >> nabia >> python >> python3-editor
etiona  ] [  nabia  ] [  aramo  ]
[ Source: python-editor  ]

Paketti: python3-editor (1.0.3-2)

programmatically open an editor, capture the result - Python 3.x

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 3.x module.

Muut pakettiin python3-editor liittyvät paketit

  • depends
  • recommends
  • suggests
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-distutils
    distutils package for Python 3.x
  • dep: python3-six
    Python 2 and 3 compatibility library (Python 3 interface)

Imuroi python3-editor

Imurointi kaikille saataville arkkitehtuureille
Arkkitehtuuri Paketin koko Koko asennettuna Tiedostot
all 4.9 kt20 kt [tiedostoluettelo]