utils.py
changeset 251 1773b48559e1
parent 250 f4d062fb5f05
child 253 beb830b0e744
equal deleted inserted replaced
250:f4d062fb5f05 251:1773b48559e1
       
     1 import string,random
       
     2 
       
     3 def make_key():
       
     4     """ return a 10 character random key.
       
     5     """
       
     6     
       
     7     return ''.join([ random.choice(string.uppercase+string.digits) for i in range(10)])
       
     8