From 70f45fedd16e6dcadabfcf7c2294b60a3d11ed2f Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sat, 21 Oct 2023 07:56:09 +0800 Subject: moved TODO comments from test.py -> stdlib.py --- stdlib.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stdlib.py b/stdlib.py index 44bef07..ccfb120 100755 --- a/stdlib.py +++ b/stdlib.py @@ -193,6 +193,7 @@ def countdown(timeoutsec: int): sleep(0.2) print(1) +# TODO: make aloading() in threading # animated loading with @msg def aloading(msg="Loading...", stop=False): from itertools import cycle @@ -219,6 +220,7 @@ def bgexec(func, arg=False, stop=False): else: t = Thread(target=func).start() +# TODO: fix this "TypeError: Please input @sig as a int(signal number, like 15) or str(signal name, like SIGTERM", tried signal.SIGINT, or str(signal name, like SIGTERM) # catch & handle signals def sigcatch(sig, error=None, sysexit=False, handler=None): from signal import signal -- cgit v1.2.3