Advertisement
Guest User

Save Login creds

a guest
Aug 25th, 2017
385
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. LoginCreds = [pass,login,so on, so forth]
  2. i = 0
  3. for item in LoginCreds:
  4.     if(i == 0):`
  5.         i+=1
  6.         open("FILELOCATION",w).write("")#Overwrite any file w/ same name if needed
  7.  
  8.      
  9.     open("FILELOCATION","a").write(item)#actually write stuff to the file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement