import time time.sleep(5) # sleep 5 秒 More details on stackoverflow 转载于:https://www.cnblogs.com/josephchuh/p/9217603.html