📜  如何使用python代码示例旋转屏幕

📅  最后修改于: 2022-03-11 14:46:48.607000             🧑  作者: 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)