#python3
Read more stories on Hashnode
Articles with this tag
在 Python 裡面,有個很好用的函數,叫做 time.sleep ,他可以讓程式暫停幾秒,不過要讓程式更好,需要再對 “Sleep” 更了解一些。 用途 就我來說,會用到的情況不外乎這幾種: 需要 polling 的等待函數 定期執行程式的 cronjob 暫時性的等待資源的 work...