在Windows和Linux中使用Python捕获屏幕截图 [英] Capturing screenshots with Python in Windows and Linux
本文介绍了在Windows和Linux中使用Python捕获屏幕截图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有可以在Linux和Windows上获取打印屏幕截图的python库?任何帮助将不胜感激.
Is there any python library which can get print screenshot on both linux and windows? Any help will be appreciated.
推荐答案
库 Castro 可以用于您的事业.
这是文档中的示例代码
from castro import Castro
c = Castro()
c.start()
# Do something awesome!
c.stop()
这篇关于在Windows和Linux中使用Python捕获屏幕截图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文