Last active
December 19, 2015 13:29
-
-
Save rickcnagy/5962372 to your computer and use it in GitHub Desktop.
Create password file on disk to access web services from
This file contains 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
# ADD PASSWORDS.P TO .gitignore IF USING GITHUB!! | |
import cPickle | |
def main(): | |
all_info = {'USERNAME': raw_input("username: "), | |
'PASSWORD': raw_input("password: ")} | |
cPickle.dump(all_info, open("passwords.p", "w")) | |
print "Setup complete." | |
if __name__ == '__main__': | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment