osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Open (txt) editor and get its content


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.

https://code.activestate.com/recipes/578926

Bug reports, improvements and comments welcome.



-- 
Steve