西西软件园多重安全检测下载网站、值得信赖的软件下载站!
西西首页 常用软件 软件下载 安卓软件 游戏下载 安卓游戏 MAC应用 驱动下载 安卓电视
系统工具网络工具媒体工具图形图像聊天工具应用软件编程开发手机软件安卓应用电脑安全字体素材

Windows微信清理工具

v3.9.6 Python版
  • Windows微信清理工具v3.9.6 Python版
  • 软件大小:6.4M
  • 更新时间:2022-01-20 13:55
  • 软件语言:中文
  • 软件厂商:
  • 软件类别:国产软件 / 免费软件 / 卸载清理
  • 软件等级:3级
  • 应用平台:WinXP, Win7
  • 官方网站:暂无
好评:50%
坏评:50%

本类精品

软件介绍

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

Windows微信清理工具

微信清理工具说明

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

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

微信清理工具功能

【1.清理聊天记录】

【2.清理图片和视频】

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

【4.清理全部数据】

源码一览

import os

def delete(files):

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

    print("清理成功!")

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

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

if f == 'MyDocument:':

    location = 'C:' + users + '\Documents\WeChat Files'

else:

    location = f.read() + "\WeChat Files"

list = os.listdir(location)

list.remove('All Users')

list.remove('Applet')

print("""

""")

print(list)

print("""

""")

while True:

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

    try:

        if 0<int(temp)<=len(list):

            temp1 = int(temp) - 1

            wxid = list[temp1]

            break

        else:

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

    except:

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

print("""

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

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

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

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

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

         """)

while True:

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

    if choice == '1':

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

        delete(dialog)

        break

    elif choice == '2':

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

        delete(pictures)

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

        delete(videos)

        break

    elif choice == '3':

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

        delete(documents)

        break

    elif choice == '4':

        delall = location + "\\" + wxid

        delete(delall)

        break

    else:

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

软件截图

Windows微信清理工具 v3.9.6 Python版

    其他版本下载

    发表评论

    昵称:
    表情: 高兴 可 汗 我不要 害羞 好 下下下 送花 屎 亲亲

    下载帮助下载帮助西西破解版软件均来自互联网, 如有侵犯您的版权, 请与我们联系。

    TOP
    软件下载