摘要: from collections import defaultdict import re d=defaultdict(lambda :0) with open(r'e:/bb.txt',mode='rt+',encoding='utf8') as f: for line in f: for sub 阅读全文
posted @ 2020-09-25 23:48 ascertain 阅读(191) 评论(0) 推荐(0) 编辑
摘要: bash有三种输入重定向 < : 用于文件 << : here-documents <<< : here-strings here-documents: 语法格式: command <<[-]MARKER Here Document MARKER 这个操作符指示bash从标准输入读取输入内容,知道读 阅读全文
posted @ 2020-09-25 18:44 ascertain 阅读(444) 评论(0) 推荐(0) 编辑