zkper=1#mips_zkper-1.8.1-bin.tar.gz scp=1#mips_scp-1.8.1-bin.tar.gz cou=0#0 bjs=0#0 1. 2. 3. 4. 脚本如下: #!/usr/bin/python # -*- coding: utf-8 -*- def update_all_aw(): for line in open("upmips.cfg"): # 更新配置文件逐行 upconf=line.strip() print("upconf...
if len(url_list) < LIMIT: continue file_name = str(file_count)+".sql" with io.open(file_name,'w',encoding='utf-16') as file: for url in url_list[:-1]: file.write(url) file.write(url_list[-1].strip()) url_list=[] file_count+=1 if url_list: file_name = str(file_co...