Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

read_top.py 439B

12345678910111213141516
  1. from million.analyze.count_participations import count_participations
  2. from million.analyze.retain_counts import retain_counts
  3. import million.parse.fb_exports as fb
  4. DATA_PATH = './data/'
  5. export = fb.parse_dirfiles(DATA_PATH)
  6. filtered = retain_counts(export.messages)
  7. print(len(filtered))
  8. participations = count_participations(filtered, export.participants, 100)
  9. for name, count in participations.items():
  10. print(f"{name}: {count}")