Skip to content

Commit

Permalink
Initial
Browse files Browse the repository at this point in the history
  • Loading branch information
harshildarji committed Aug 14, 2016
1 parent e514065 commit 4e3ff7c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions other/password_generator.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import string
from random import *

letters = string.ascii_letters
digits = string.digits
symbols = string.punctuation
chars = letters + digits + symbols

min_length = 8
max_length = 16
password = ''.join(choice(chars) for x in range(randint(min_length, max_length)))
print('Password: %s' % password)
print('[ If you are thinking of using this passsword, You better save it. ]')

0 comments on commit 4e3ff7c

Please sign in to comment.