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
bd-time-0.0.1.tar.gz
(4.7 kB
view details)
Built Distribution
File details
Details for the file bd-time-0.0.1.tar.gz
.
File metadata
- Download URL: bd-time-0.0.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7000c6f31aa3fd284d54c14f166fe45edbd1157e326f63fe651247dd0ae1ee69 |
|
MD5 | 646d546b8e82dcb9b815b12784412106 |
|
BLAKE2b-256 | 1d65f8465f746c96f5b15525982e37a8bf397039c6326c6cb695265c9fa21546 |
File details
Details for the file bd_time-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: bd_time-0.0.1-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72560ade4cde062953690f752adf9973efbd83029b2c695bde575bb8b4be02ee |
|
MD5 | 9acf6fa40744a8dbbffccb57a3e75550 |
|
BLAKE2b-256 | f15b342393ab38cf415bcecb70add9a7da66501bf9312806c9d7b81f302fac36 |