Created
April 27, 2019 11:31
-
-
Save orrpeles/cbd751f52e67377eb02d25fac8941232 to your computer and use it in GitHub Desktop.
Password Generator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/python | |
passwordFile = open('SecretPasswordFile.txt') | |
SecretPassword = passwordFile.read() | |
print('enter your passwd: ') | |
typedPassword = input() | |
if typedPassword == SecretPassword: | |
print('access granted') | |
else: | |
print('access denied') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is my first password generator using Python.