摘要:
from socket import * import time startTime = time.time() target = input('需要扫描的主机: ') t_IP = gethostbyname(target) print('开始扫描主机: ', t_IP) for i in ran 阅读全文
摘要:
#案例1,多文件行遍历循环import fileinputfor line in fileinput.input(files=('g:\main.py','g:\yibao.txt')): print(line) print('hello,world')#循环体fileinput.close() # 阅读全文