bode's private time model.
Project description
bode's time model.
bd_time
from bd_time import Time()
tt = Time()
tt.now(1) # 输出当前运行的时间
tt.during(10) # 检测运行时间是否在10秒内
tt.get_key_state('a') # 检测'a'键是否按下
tt.stop_alt('a') # 如果按下[Alt + a]键就推出
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bdtime-0.0.3.tar.gz
(4.7 kB
view hashes)
Built Distribution
bdtime-0.0.3-py3-none-any.whl
(11.1 kB
view hashes)