摘要:
import itertools as its words = 'abcdefghijklmnopqrstuvwxyz1234567890' r = its.product(words, repeat=4) # repeat 要生成多少位的字典 dic = open("pass.txt", "a") for i in r: dic.write("".join(i)) dic.write("".jo 阅读全文
摘要:
import win32com.client def check_exsit(process_name): WMI = win32com.client.GetObject('winmgmts:') processCodeCov = WMI.ExecQuery('select * from Win32_Process where Name like "%{}%"'.format(process_na 阅读全文
摘要:
from datetime import datetime def Main(): source_dir = 'E:/code/Modbus_RTU/pass.txt' target_dir = 'E:/code/Modbus_RTU/passs/' # 计数器 flag = 0 # 文件名 name = 1 # 存放数据 dataList = [] print("开始。。。。。") print( 阅读全文