如何让我的Python程序睡眠50毫秒?
from time import sleep sleep(0.05)
Reference
请注意,如果您依赖睡眠时间恰好为50毫秒,那么您将无法获得 . 它只是关于它 .
import time time.sleep (50.0 / 1000.0);
3 回答
Reference
请注意,如果您依赖睡眠时间恰好为50毫秒,那么您将无法获得 . 它只是关于它 .