3

Here is a piece of code to, first, make a list of your tags. If I have some time I will proceed next later ;). import glob import re list_of_tags = [] for filename in glog.glob("*_yourfiles.dat"): with open(filename, 'r') as msg: data = msg.read() tags = re.sub(r"(?!tag[^\s]+\b)\b\w+",&...


Only top voted, non community-wiki answers of a minimum length are eligible