擅长:python、mysql、java
<p>根据<a href="https://stackoverflow.com/questions/2846947/get-screenshot-on-windows-with-python">this question</a>,您应该能够使用<a href="http://www.pythonware.com/library/pil/handbook/imagegrab.htm" rel="nofollow noreferrer">ImageGrab</a>拍摄屏幕快照。因为ImageGrab使用PIL,所以这应该是跨平台的。<a href="http://www.blendedtechnologies.com/quick-screenshots-script-python-pil/38" rel="nofollow noreferrer">Here</a>是一些让您上路的示例代码</p>
<p>希望这有帮助</p>