Skip to content

Instantly share code, notes, and snippets.

@orrpeles
Created April 27, 2019 11:31
Show Gist options
  • Save orrpeles/cbd751f52e67377eb02d25fac8941232 to your computer and use it in GitHub Desktop.
Save orrpeles/cbd751f52e67377eb02d25fac8941232 to your computer and use it in GitHub Desktop.
Password Generator
#!/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')
@orrpeles
Copy link
Author

This is my first password generator using Python.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment