Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Commit 7213dfb

Browse files
committed
feat:新增程序打开图标🚀
1 parent 0f95da6 commit 7213dfb

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

main.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
from rich.console import Console
2-
3-
42
from my_xxt.my_tools import select_menu, show_start
53
from my_xxt.api import XcxyXxt
64
from my_xxt.login import login
75

6+
# 设置控制台的宽度
87
console = Console(width=100)
98

109
if __name__ == '__main__':

my_xxt/my_tools.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,14 @@ def select_menu(console: Console, xxt: XcxyXxt) -> None:
136136

137137
def show_start(console: Console) -> None:
138138
console.rule("欢迎使用该做题脚本")
139-
console.print("[red]注意:该脚本仅供学习参考")
139+
console.print(" ███╗ ██╗███████╗██╗ ██╗ ██╗ ██╗██╗ ██╗████████╗\n \
140+
████╗ ██║██╔════╝██║ ██║ ╚██╗██╔╝╚██╗██╔╝╚══██╔══╝\n \
141+
██╔██╗ ██║█████╗ ██║ █╗ ██║ ╚███╔╝ ╚███╔╝ ██║\n\
142+
██║╚██╗██║██╔══╝ ██║███╗██║ ██╔██╗ ██╔██╗ ██║\n\
143+
██║ ╚████║███████╗╚███╔███╔╝███████╗██╔╝ ██╗██╔╝ ██╗ ██║\n\
144+
╚═╝ ╚═══╝╚══════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ",justify="center")
145+
146+
console.print("[red]注意:该脚本仅供学习参考,详细信息请参考https://github.com/aglorice/new_xxt")
140147

141148

142149
def show_course(courses: list, console: Console) -> None:

0 commit comments

Comments
 (0)