name = input("Enter file:") if len(name) < 1: name = "mbox-short.txt" handle = open(name) didi = dict() for line in handle: line = line.rstrip() if not line.startswith('From '): continue line = line.split() line = line[5] line = line.split(':') line = line[0] if not line in didi: didi[line] = 1 else: didi[line] += 1 lst = list() for k, v in didi.items(): lst.append((k,v)) lst.sort() for (k,v) in..