摘要:
#add PASS import osfilepath = os.path.abspath('.')def eachFile(filepath): pathDir = os.listdir(filepath) #获取当前路径下的文件名,返回List for s in pathDir: newDir= 阅读全文
posted @ 2021-11-08 13:21
江南王小帅
阅读(272)
评论(0)
推荐(0)
摘要:
file = open("*.txt",'r') content = file.read() file.close() pos = content.find( "2.4G MAC address" ) if pos != -1: content = content[:pos] + "\n" +" " 阅读全文
posted @ 2021-11-08 13:20
江南王小帅
阅读(540)
评论(0)
推荐(0)

浙公网安备 33010602011771号