From 30fb557f45cd618aff72318767baf4683b241284 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=8A=E6=99=9A=E6=89=93=E8=80=81=E8=99=8E?= Date: Tue, 7 Apr 2026 19:23:29 +0800 Subject: [PATCH 1/2] =?UTF-8?q?[=E6=8A=95=E7=A8=BF]=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E8=84=9A=E6=9C=AC:=20=E6=95=88=E6=9E=9C=E8=BF=9B=E5=BA=A6?= =?UTF-8?q?=E6=9D=A1=20=E2=80=94=20by=20ioo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scripts/basic/script_mnoj6hz6.py | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 script_library/scripts/basic/script_mnoj6hz6.py diff --git a/script_library/scripts/basic/script_mnoj6hz6.py b/script_library/scripts/basic/script_mnoj6hz6.py new file mode 100644 index 0000000..3eabb7d --- /dev/null +++ b/script_library/scripts/basic/script_mnoj6hz6.py @@ -0,0 +1,26 @@ +# 欢迎使用 PythonIDE!如果觉得好用,请给个好评哦~ +import time +R = "\033[91m" # 红 +G = "\033[92m" # 绿 +Y = "\033[93m" # 黄 +X = "\033[0m" # 重置 +print("普通") +t='█' +for i in range(51): + k=i*2 + print(f"\r|{i*'█'}{(50-i)*' '}|{k}%",end="") + time.sleep(0.08) +#高级 +print("\n高级") +def load(): + + for i in range(51): + if i*2<30: + types=R + elif i*2>30 and i*2<60: + types=Y + elif i*2>60: + types=G + print(f"\r|{types}{i * t}{X}|{(49 - i) * '-'}{i*2}%", end="\033[A") + time.sleep(0.08) +load() \ No newline at end of file From 3cbe176281dbaef734830b81fc471bb1ddb00673 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=8A=E6=99=9A=E6=89=93=E8=80=81=E8=99=8E?= Date: Tue, 7 Apr 2026 19:23:32 +0800 Subject: [PATCH 2/2] =?UTF-8?q?[=E6=8A=95=E7=A8=BF]=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=20index.json:=20=E6=B7=BB=E5=8A=A0=20=E6=95=88=E6=9E=9C?= =?UTF-8?q?=E8=BF=9B=E5=BA=A6=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script_library/index.json | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/script_library/index.json b/script_library/index.json index f8accd2..38a33df 100644 --- a/script_library/index.json +++ b/script_library/index.json @@ -1,7 +1,7 @@ { "format_version": 1, - "data_version": 83, - "updated": "2026-04-06T22:07:39.462Z", + "data_version": 84, + "updated": "2026-04-07T11:23:31.644Z", "announcement": null, "categories": [ { @@ -1374,6 +1374,29 @@ "updated": null, "status": "active", "lines": 427 + }, + { + "id": "script_mnoj6hz6", + "name": "效果进度条", + "name_en": "效果进度条", + "desc": "一个模板,进度条模板,使用\\r", + "desc_en": "一个模板,进度条模板,使用\\r", + "category": "basic", + "file": "scripts/basic/script_mnoj6hz6.py", + "thumbnail": null, + "version": 1, + "file_type": "py", + "author": "ioo", + "author_en": "ioo", + "tags": [ + "community" + ], + "requires": [], + "min_app_version": "1.5.0", + "added": "2026-04-07", + "updated": null, + "status": "active", + "lines": 26 } ] }