Join Nostr
2026-03-09 10:00:17 UTC
in reply to

Max Mustermann on Nostr: milchmann anime graf mays 🛰️🪐 Step one: Find some method to extract all the ...



Step one: Find some method to extract all the posts into a text file. One line for each. step two:

def count_questions(file_path):
questions = 0
with open(file_path) as f:
for line in f:
questions += line.count('?')

return questions


# python entry point goes here better look up how it looks like,
if __name__ == '__main__':
print(f'Rasmussen asked {count_questions("rasmussen.txt")} stupid questions.')