Grab the screen shot on Windows.
1 2 | import win32api, win32con
win32api.keybd_event(win32con.VK_SNAPSHOT, 0)
|
If you want the active window screen then,
import win32api, win32con win32api.keybd_event(win32con.VK_SNAPSHOT, 1)
On X Window System, execute the xwd command. But can not screen cast, I want to examine a method.
Tags: graphics