A tool that allows both-side communication between Python and Emacs Lisp
https://www.emacswiki.org/emacs/PyMacs