10 2022 档案

摘要:import time class Timer: def __init__(self, func=time.perf_counter): self.elapsed = 0.0 self._func = func self._start = None def start(self): if self. 阅读全文
posted @ 2022-10-18 16:52 老鲜肉 阅读(110) 评论(0) 推荐(0)
摘要:import os import re import argparse import sys import time SLEEP_DURATION = 0.001 # 1ms MAX_LINE_LENGTH = 1024 * 1024 * 128 # 128MB enable_color = Fal 阅读全文
posted @ 2022-10-12 23:09 老鲜肉 阅读(36) 评论(0) 推荐(0)