If you have a question or need help, this is the place to be.
- Posts: 4
- Joined: Thu Apr 24, 2014 4:10 pm
I had tried to search around but screenshot is a common keyword.
Is there a simple of of saving a screen shot or do I have to use keyboard and mouse emulation to take it and save it in paint?
- Experienced User
- Posts: 321
- Joined: Tue Jun 14, 2011 2:53 pm
import ImageGrab, datetime
im = ImageGrab.grab()
date = datetime.datetime.now()
str = date.strftime("%Y%m%d%H%M%S")
im.save(r'D:\temp\DELETE NOW\screenshot%s.png' % str)
- Posts: 9
- Joined: Wed May 28, 2014 2:38 pm