05 2023 档案
摘要:使用pyautogui 控制PC版微信,发消息。 import pyautogui import time def Open_Wechat(): #使用快捷键打开微信。这个微信的默认设置的快捷键。 pyautogui.hotkey('ctrl', 'alt', 'w') time.sleep(1)
阅读全文
摘要:直接上代码 使用python,通过系统默认的passwd命令,修改用户Tom的密码为NewPassword import subprocess # Get the username and new password from the user username = "Tom" new_passwor
阅读全文