Files
ola5doc/content/.stversions/leon_lenclos/sources/onomatopee/script~20171217-165354.py
T

7 lines
156 B
Python

import re, random
with open("wiki.txt", "r") as f:
onomatopees= re.findall(r"''([\w\s]+)''", f.read(), flags=re.M)
print(random.choice(onomatopees))