mercredi 8 mars 2017

pick random lines from text files and send them through email

I am kind of new to this so I am hoping that you can give me a hand. The task is this:

I have 5 .txt files, each file contains 10 lines of text. I have to randomly select one line from each file and the these generated lines have to be sent through email to two email addresses.

Can you please provide some pointers ?

Thank you!




Aucun commentaire:

Enregistrer un commentaire