主要应用python3+tkinter
功能:批量加密和解密主流的表格及文档文件(如et、xls、xlsx、wps、doc、docx等)。
接口库:win32com
#程序运行前,请提前关闭WPS文件
def is_wps(self):
wpspids = pids()
for pid in wpspids:
#try:
p = Process(pid)
if p.name() == 'et.exe' or p.name() == 'wps.exe' or p.name() == 'wpspdf.exe':
return True
#中止进程
def killpid(self):
wpspids = pids()
for pid in wpspids:
try:
p = Process(pid)
if p.name() == 'et.exe' or p.name() == 'wps.exe' or p.name() == 'wpspdf.exe':