mirror of
https://github.com/LibraHp/GetQzonehistory.git
synced 2025-02-22 21:29:06 +00:00
添加工具类
This commit is contained in:
parent
6685b61eaa
commit
5cff617858
@ -18,12 +18,12 @@ def read_files_in_folder():
|
|||||||
files = os.listdir(user_path)
|
files = os.listdir(user_path)
|
||||||
|
|
||||||
# 输出文件列表
|
# 输出文件列表
|
||||||
print("文件列表:")
|
print("已保存用户:")
|
||||||
for i, file in enumerate(files):
|
for i, file in enumerate(files):
|
||||||
print(f"{i + 1}. {file}")
|
print(f"{i + 1}. {file}")
|
||||||
|
|
||||||
# 选择文件
|
# 选择文件
|
||||||
choice = int(input("请选择要读取的文件编号: "))
|
choice = int(input("请选择要登陆的用户: "))
|
||||||
|
|
||||||
# 读取选择的文件
|
# 读取选择的文件
|
||||||
selected_file = files[choice - 1]
|
selected_file = files[choice - 1]
|
||||||
|
Loading…
Reference in New Issue
Block a user