在Python中,您可以使用time.sleep(seconds)使當前正在執行的Python程序進入睡眠或延遲幾秒鐘。 import time time.sleep(1) # delays for 1 seconds
確定! 回上一頁