File tree Expand file tree Collapse file tree 2 files changed +28
-10
lines changed Expand file tree Collapse file tree 2 files changed +28
-10
lines changed Original file line number Diff line number Diff line change 1- # PasswordManagerProject V1.0.1
2- PasswordManagerProject V1.0.1 Remastered
1+ # PasswordManagerProject V1.0.2
2+ PasswordManagerProject V1.0.2 Remastered
33
44Choose an option:
551 . Generate Password
@@ -27,3 +27,10 @@ Choose an option:
27276 . Debug(Unsafe size) " # Size of 200000 (Not implemented)
2828
2929Please report any bugs if you find any.
30+ -----
31+
32+ # Imports
33+ As of version 1.0.2
34+ import string
35+ import random
36+ import time
Original file line number Diff line number Diff line change 11import string
22import random
3+ import time
4+
5+ project_version = '1.0.2'
6+
7+ print (f"Welcome to the PasswordManager Application version: " + project_version +
8+ f"\n For more information please go to the github @"
9+ f"\n https://github.com/Shini9000/PasswordManagerProject"
10+ f"\n And thank you for downloading and testing my application :)\n \n " )
311
412# true loop
513while True :
14+ time .sleep (3.5 )
615 # Main menu loop
716 user_input = input (f"Choose an option: "
8- f"\n \n 1 . Generate Password "
9- f"\n 2 . View Passwords "
10- f"\n 3 . View Accounts "
11- f"\n 4 . Add Account "
12- f"\n 5 . Delete Account "
13- f"\n 6 . Exit Application "
14- f"\n \ n Enter Input: " )
17+ f"\n 1 . Generate Password "
18+ f"\n 2 . View Passwords "
19+ f"\n 3 . View Accounts "
20+ f"\n 4 . Add Account "
21+ f"\n 5 . Delete Account "
22+ f"\n 6 . Exit Application "
23+ f"\n Enter Input: " )
1524 try :
1625 val = int (user_input )
1726 except ValueError :
5867 print (f'Returning to main menu!' )
5968 case 4 :
6069 generic_letters = string .ascii_letters
70+ numbers = string .digits
71+ string_line = numbers + generic_letters
6172 result_string = '' .join (
62- (random .choice (generic_letters ) for i in range (int (input ("Select a password length: " )))))
73+ (random .choice (string_line ) for i in range (int (input ("Select a password length: " )))))
6374 result_string .startswith ("\n " )
6475 print ("\n " + result_string + "\n " )
6576 print (f'Returning to main menu!' )
You can’t perform that action at this time.
0 commit comments