Open (txt) editor and get its content
steve+comp.lang.python at pearwood.info
Thu Apr 19 07:41:19 EDT 2018
On Thu, 19 Apr 2018 00:39:40 -0700, zljubisic wrote:
> Is it possible to run python script that will open editor and let me
> paste sql query in the editor, and than after closing editor, get
> editor's content in python script?
Try this recipe: it will work for many, but not all editors.
Bug reports, improvements and comments welcome.
More information about the Python-list