Take a screenshot via a Python script on Linux

后端 未结 15 1023
暖寄归人
暖寄归人 2020-11-22 11:50

I want to take a screenshot via a python script and unobtrusively save it.

I\'m only interested in the Linux solution, and should support any X based environment.

15条回答
  •  失恋的感觉
    2020-11-22 12:38

    There is a python package for this Autopy

    The bitmap module can to screen grabbing (bitmap.capture_screen) It is multiplateform (Windows, Linux, Osx).

提交回复
热议问题