如何使用python逐行调用文件,在文件中的每一行上传递命令?import subprocess import sys f = open('IPList.txt') for line in f: subprocess.call("nslookup", ...2024-04-28 已阅读: n次