下载站

展开
精品推荐
Windows微信清理工具

Windows微信清理工具

卸载清理大小:192.4MB语言: / 类别:系统工具系统: / WinXP, Win7 提供:
应用介绍

Windows微信清理工具,微信清理工具吾爱版本,论坛用户通过Python语言编写的一个自动清理工具,可以一键清理PC设备上的微信缓存文件,清理电脑内存空间,经常使用PC版微信的朋友们可以用这款软件来清理积攒的垃圾数据,让你的电脑变得更加清洁。

微信清理工具,微信,清理工具.

微信清理工具说明

本工具采用Python编写,先读取“%userprofile%\AppData\Roaming\Tencent\WeChat\AllUsers\config\3ebffe94.ini”,确定WeChatFiles文件夹的位置,进行扫描,列出所有登陆过的微信号,让用户选择清理的对象,再列出菜单,通过if语句让用户来决定删除哪些数据,最后进行删除操作。

程序要求输入微信号只是为了定位文件夹位置,没有对网络进行连接的任何操作

微信清理工具功能

【1.清理聊天记录】

【2.清理图片和视频】

【3..清理接收到的文件】

【4.清理全部数据】

源码一览

importos

defdelete(files):

os.system('del/f/s/q"%s\\*.*"'%files)

print("清理成功!")

users=os.path.expandvars('$HOMEPATH')

f=open(r'C:'+users+'\\AppData\\Roaming\\Tencent\\WeChat\\AllUsers\\config\\3ebffe94.ini')

iff=='MyDocument:':

location='C:'+users+'\Documents\WeChatFiles'

else:

location=f.read()+"\WeChatFiles"

list=os.listdir(location)

list.remove('AllUsers')

list.remove('Applet')

print("""

""")

print(list)

print("""

""")

whileTrue:

temp=input("选择你要清理的微信号:")

try:

if0<int(temp)<=len(list):

temp1=int(temp)-1

wxid=list[temp1]

break

else:

print("输入错误,请重新输入。")

except:

print("输入错误,请重新输入。")

print("""

-----------------------------Windows微信清理工具-------------------------------------

------------------------------【1.清理聊天记录】---------------------------------

-----------------------------【2.清理图片和视频】-----------------------------------

-----------------------------【3.清理接收到的文件】------------------------------

------------------------------【4.清理全部数据】-------------------------------

""")

whileTrue:

choice=input("请输入要执行的操作所对应的代码:")

ifchoice=='1':

dialog=location+"\\"+wxid+'\Msg'

delete(dialog)

break

elifchoice=='2':

pictures=location+"\\"+wxid+'\FileStorage\Image'

delete(pictures)

videos=location+"\\"+wxid+'\FileStorage\Video'

delete(videos)

break

elifchoice=='3':

documents=location+"\\"+wxid+'\FileStorage\File'

delete(documents)

break

elifchoice=='4':

delall=location+"\\"+wxid

delete(delall)

break

else:

print("输入错误,请重新输入。")

微信清理工具,微信,清理工具.

Tags:微信清理工具,微信,清理工具.

应用推荐查看更多
热门下载查看更多
精选应用
点击查看更多
专题合集查看更多
热门专题查看更多
友情链接0投诉联系:ichaoinc@gmail.com