2011-02-10 3 views

Répondre

11
import random 
random.choice('string') 
# If you want more than 1 char, say n 
''.join(random.sample('string',n)) 
Questions connexes