Keep one GUI always on TOP while python code is running

Rustom Mody rustompmody at gmail.com
Fri Aug 8 09:44:54 EDT 2014


On Thursday, August 7, 2014 4:54:09 PM UTC+5:30, Jaydeep Patil wrote:
> Hi all,

> I have one query. I have did some programming which copies and paste data using system clipboard. I need to keep one GUI always on top till my python code is running.

In linux you can do (at shell level)
$ wmctrl -r "window" -b add,above

Note: In place of window you will need a string that is in your window title
You can get these with
$ wmctrl -l

You can then stuff this into python with os.system

Windows: No idea



More information about the Python-list mailing list