Take Snapshots using Python

1
2
3
import ImageGrab
img = ImageGrab.grab()
img.save('arkadian.png','PNG')

A quick and easy way to take a snapshot of your current window.
You can always use JPG, but the quality is better in PNG.

Works in Windows and requires PIL.