17

Python 做一个闹钟,用 while 循环等待时间是否是一个好办法

 3 years ago
source link: https://www.v2ex.com/t/715524
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
Python - @sudoy - 我在做一个闹钟,等到谋个时间就开始执行谋个动作(在下面的案例里面简化为 `print('ok')`)。请问这是否是最佳办法?因为我担心会不会导致占用内存过高等问题。我看有一个叫 [alarm]( ht

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK