#别说我我做的不好,有本事,你自己做!!!#
123云盘:电脑管家2.0.py官方版下载丨最新版下载丨绿色版下载丨APP下载-123云盘
密码:2024
1.0版本下载https://blog.csdn.net/LoackDownLife/article/details/136077979?spm=1001.2014.3001.5502
2.0源代码:
import time
import sys
import subprocess
time.sleep(1)
print('---电脑管家---')
print('===腾讯出品===')
while True:
a = input('是否安装?,1安装,2不安装')
if a == '1':
print('开始安装')
break
elif a == '2':
print('暂停安装')
sys.exit()
else:
print('错误')
print('正在安装')
time.sleep(1)
from alive_progress import alive_bar
with alive_bar(100) as bar:
for item in range(100):
time.sleep(0.2)
bar()
print('安装完成')
print('电脑管家:欢迎用户')
time.sleep(1)
print('在此之前,请先登陆')
time.sleep(1)
while True:
qq = input('请输入邮箱(qq.com 163.com 所有邮箱都可支持):')
dd = input('密码:')
if not qq and not dd:
print('你好像有东西没输入!')
else:
break
time.sleep(1)
print('请开始你的杀毒之旅吧')
n = input('是否打开主界面???? 按o打开')
if n == 'o':
print('正在打开.....')
time.sleep(3)
while True:
oo = input('请输入 1杀毒 2清理 3权限管理 4系统急救 5退出主菜单')
if oo == '1':
ee = input('请输入 1云查杀 2本地查杀 3全盘查杀 4离线杀毒 5自定义杀毒 ')
if ee == '1':
print('正在杀毒..... 请稍候')
from progressbar import ProgressBar, Percentage, Bar, Timer, ETA, FileTransferSpeed
widgets = ['Progress: ', Percentage(), ' ', Bar('#'), ' ', Timer(), ' ', ETA(), ' ', FileTransferSpeed()]
progress = ProgressBar(widgets=widgets)
for i in progress(range(100)):
time.sleep(0.05)
time.sleep(1)
else:
print('正在杀毒..... 请稍候')
from progressbar import ProgressBar, Percentage, Bar, Timer, ETA, FileTransferSpeed
widgets = ['Progress: ', Percentage(), ' ', Bar('#'), ' ', Timer(), ' ', ETA(), ' ', FileTransferSpeed()]
progress = ProgressBar(widgets=widgets)
for i in progress(range(100)):
time.sleep(0.1)
time.sleep(1)
elif oo == '2':
ee = input('1 开始清理')
from tqdm import trange
for i in trange(100):
time.sleep(0.5)
elif oo == '3':
print('无启动项')
elif oo == '4':
print('开始急救')
from alive_progress import alive_bar
with alive_bar(100) as bar:
for item in range(100):
time.sleep(0.5)
bar()
time.sleep(4)
print('急救完成✅')
elif oo == '5':
print('正在退出....')
time.sleep(3)
print('退出已完成')
from alive_progress import alive_bar
with alive_bar(100) as bar:
for item in range(100):
time.sleep(0.02)
bar()
time.sleep(1)
sys.exit()
else:
print('无效操作和显示')
sys.exit()