Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

generate random string python

from random import randint

def create_random_chars(nbr_of_chars):
    return "".join(chr(randint(33,126)) for i in range(nbr_of_chars))


print(create_random_chars(10))
# I1CU>E5q;$
Source by pynative.com #
 
PREVIOUS NEXT
Tagged: #generate #random #string #python
ADD COMMENT
Topic
Name
9+5 =