Pre-requisite:
#--<-start code here->--
import ImageGrab;
img = ImageGrab.grab()img.save("D:\\test.jpg")
#--<-end code here->--
~ts~
- Python 2.5 for Windows
- Python Imaging Library (PIL).
#--<-start code here->--
import ImageGrab;
img = ImageGrab.grab()img.save("D:\\test.jpg")
#--<-end code here->--
~ts~
Comments