Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

password generator in python

import random

print("
")
def greeting():
    print("PASSWORD GENERATOR
")
greeting()

def passwordgen():
    print("
")
    
lower_case="abcdefghijklmnopqrstuvwxyz"
upper_case="ABCDEFGHIJKLMNOPQRSTUVWXYZ"
number="0123456789"
symbols="!@#$%^&*()_+:"
jap="あいうえおかきくけこさしすせそなにぬねのたちつてとはひふへほまみむめもらりるれろやゆよ"


Use_for=lower_case+upper_case+number+symbols+jap 
length_for_password=10

password="".join(random.sample(Use_for, length_for_password))

print("Your generated password is "+password)

passwordgen()

 
PREVIOUS NEXT
Tagged: #password #generator #python
ADD COMMENT
Topic
Name
2+7 =