non-blocking getkey?

Ulli Horlacher framstag at rus.uni-stuttgart.de
Mon Nov 23 12:01:55 EST 2015


eryksun <eryksun at gmail.com> wrote:
> On Thu, Nov 19, 2015 at 10:31 AM, Michael Torrie <torriem at gmail.com> wrote:
> > One windows it might be possible to use the win32 api to enumerate the
> > windows, find your console window and switch to it.
> 
> You can call GetConsoleWindow [1] and then SetForegroundWindow [2].
(...)

Sorry, for the late feedback: 
great, this works! Thanks!
 

-- 
Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum IZUS/TIK         E-Mail: horlacher at tik.uni-stuttgart.de
Universitaet Stuttgart         Tel:    ++49-711-68565868
Allmandring 30a                Fax:    ++49-711-682357
70550 Stuttgart (Germany)      WWW:    http://www.tik.uni-stuttgart.de/



More information about the Python-list mailing list