Using python, how do you select a random row of a csv file?
I need to select a random word from a csv file and I just don't know how to start it off. All the words are in one column, but I want to get a random row so as I can output a random word. Any thoughts?
Aucun commentaire:
Enregistrer un commentaire