<progress id="btth9"></progress>
<sub id="btth9"><thead id="btth9"><font id="btth9"></font></thead></sub>

<sub id="btth9"></sub>

      <big id="btth9"></big>

      <progress id="btth9"></progress>

      <big id="btth9"></big>

      win7系統下載
      當前位置: 首頁 > 系統軟件教程 > 詳細頁面

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

      Windows微信清理工具-Windows微信清理工具下載 v3.9.6 Python版
      • 軟件類型:系統軟件
      • 軟件語言:簡體中文
      • 授權方式:免費軟件
      • 更新時間:2022-08-16
      • 閱讀次數:
      • 推薦星級:
      • 運行環境:WinXP,Win7,Win10,Win11
      軟件介紹
      分享到: 0

      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("輸入錯誤,請重新輸入。")


      系統軟件一般是在計算機系統購買時隨機攜帶的,也可以根據需要另行安裝。


      點下面下載:(推薦使用"迅雷"進行下載,系統下載大全QQ交流群:)
      日本不卡免费新一区二区三区