import subprocess import os import time from tqdm import tqdm IDA_PATH=r"D:\tool\IDA 7.0\IDA 7.0\idat64.exe" # IDA path file_path=r"C:\Users\Administrator\Desktop\test1\bin" file_list=os.listdir(file_path) # print(file_list) for item_file in tqdm(file_list): subprocess.call([IDA_PATH, "-b", "-B", os.path.join(file_path,item_file)]) time.sleep(0.1)