jeudi 29 janvier 2015

python generate random strings of specific length, and a list of characters

I need a little program (inside another bigger one) that generates "random" strings. These strings have to be of a specific length, and the characters inside them, can't be just anything, but they have to be str(of any number from 1 to 9), Does any of you have any idea on how to do it? Thank you!





Aucun commentaire:

Enregistrer un commentaire