1 2
python-editor is a library that provides the editor module for programmatically interfacing with your system's $EDITOR.