📜  python 旋转屏幕 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:08.359000             🧑  作者: Mango

代码示例2
#pip install rotate-screen
import rotatescreen
import time
screen = rotatescreen.get_primary_display()
for i in range(4):
    time.sleep(3)
    screen.rotate_to(i*90 % 360)