Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Normolo authored Aug 31, 2021
1 parent 086ad56 commit 18b4bd9
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions Password Generator/PassGenerator.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
import time
import random
import webbrowser

spc = '--------------'
password = ''

currentVersion = 'v1.0'

charsAll = 'abcdefghijklmopqrstuvewd1234567890!@#$%^&*()-=QWERTYUIOPASDFGHJKLZXCVBNM,./;l]['
charsNum = '123456789'
charsLet = 'qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM'
charsLoB = 'QWERTYUIOPASDFGHJKLZXCVBNM'
charsLoS = 'qwertyuiopasdfghjklzxcvbnm'
charsSpe = '!@#$%^&*(_+)><":~|}{":?><'

print('OJAVE CONSOLE-BASED-SOFTWARE LIMITED')
print('< Loading Application >')
print()
time.sleep(1)
print('Version:', currentVersion)
print()
time.sleep(1)
bronfirmCheck = 20
while bronfirmCheck == 20:
typeChar = input('Select character range from the following options: (all / numbers / special / letters / onlySmallLetters / onlyCapsLetters): ')
if typeChar == 'letters':
chars = charsLet
if typeChar == 'all':
chars = charsAll
if typeChar == 'numbers':
chars = charsNum
if typeChar == 'special':
chars = charsSpe
if typeChar == 'onlySmallLetters':
chars = charsLoS
if typeChar == 'onlyCapsLetters':
chars = charsLoB
confirmCheck = 10

while confirmCheck == 10:
length = input('Length to add? (Starts at 0) :')
length = int(length)
print(spc)
for c in range(length):
password += random.choice(chars)
print(password)
time.sleep(0.5)
print(spc)
CONA = input('Close? (y/n): ')
if CONA == 'y':
print('Goodbye')
time.sleep(1)
raise SystemExit(0)
if CONA == 'n':
confirmCheck + 0
print(spc)

Binary file added Password Generator/ico/PasswordGeneratorIcon.ico
Binary file not shown.
Binary file added Password Generator/ico/PasswordGeneratorIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 18b4bd9

Please sign in to comment.