Return to Snippet

Revision: 56314
at March 21, 2012 13:11 by AgustinAlvia


Initial Code
#probado en python 3.2.2
import PIL.ImageGrab #http://www.lfd.uci.edu/~gohlke/pythonlibs/
import datetime
now = datetime.datetime.now().strftime("%Y-%m-%d %H%M%S")
print(now)
img = PIL.ImageGrab.grab()
img.save(str(str(now) + '.png'),'png')

Initial URL


Initial Description
Probado en python 3.2.2

Initial Title
Python Screenshot

Initial Tags


Initial Language
Python