Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Python 2.7.15
- # You need users.txt, pwds.txt where this file is at otherwise won't find it
- # if you've got it somewhere else you can change the path
- # ~~ xampleBACKUP ~~
- #Enjoy.
- import time
- try:
- var = open("users.txt", 'r').readlines()
- var2 = open("pwds.txt", 'r').readlines()
- except:
- print ("Folders Were not Found!")
- time.sleep(3)
- raise SystemExit("Folders were not found!")
- def output_func():
- try:
- with open("results.txt", "w") as out:
- for row,row2 in zip(var,var2):
- out.write(row.strip() + ":"+row2+"\n")
- print ("Proccess Done!")
- time.sleep(5)
- raise SystemExit()
- except FileError:
- print "ERROR!"
- time.sleep(3)
- raise SystemExit("ER")
- output_func()
Add Comment
Please, Sign In to add comment