Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python password generation

import random

lower_case = "abcdefghijklmnopqrstuvwxyz"
upper_case = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
numbers = "0123456789"
symbols = "!#$%&()*+,-./:;<=>?@[]^_`{|}~"

allChars = lower_case + upper_case + numbers + symbols

length = 10
password = "".join(random.sample(allChars, length))
print(password)
Source by geekflare.com #
 
PREVIOUS NEXT
Tagged: #python #password #generation
ADD COMMENT
Topic
Name
3+4 =