Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

generate random token or id in django

>>> short_genome = get_random_string(length=32, allowed_chars='ACTG')
>>> short_genome
u'CCCAAAAGTACGTCCGGCATTTGTCCACCCCT'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #generate #random #token #id #django
ADD COMMENT
Topic
Name
9+8 =