# 在此之前你要先安装PIL# http://www.pythonware.com/products/pil/1 import ImageGrab2 im = ImageGrab.grab()3 im.show()