【文件属性】:
文件名称:PyStopwatch:一个非常简单的 Python 秒表
文件大小:9KB
文件格式:ZIP
更新时间:2021-06-14 13:23:16
Python
秒表
一个用 Python 编写的非常简单的命令行秒表。
用法
可以使用 PyStopwatch 启动
python stopwatch
这将自动启动秒表。 通过按 Enter,您可以将秒表的状态从运行切换到暂停。 秒表启动后的总时间将打印在屏幕上。 使用 Ctrl+C 停止秒表,并打印出总经过时间。 输出将如下所示:
Started stopwatch at: 18:04:19
Press Enter to pause...
Stopped: 00:00:01:54 seconds passed
Press Enter to continue...
Running: 00:00:01:54 seconds passed
Press Enter to pause...^C
Stopped: 00:00:03:17 seconds passed
Stopped stopwatch at
【文件预览】:
PyStopwatch-master
----LICENSE(18KB)
----README.md(811B)
----pystopwatch(3KB)