get active window title python

43

get active window title python -

import win32gui
w=win32gui
w.GetWindowText (w.GetForegroundWindow())

Comments

Submit
0 Comments