vendredi 13 avril 2018

Choose random word from a text file #python

wordlist = open("Wordlist.rtf").readlines()
word = random.choice(wordlist)

print(word)

The problem is that I always get this result (word replaced with a word)

\cb3 word\cb1 \




Aucun commentaire:

Enregistrer un commentaire