Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import re
- USER_LIST = 'passwd.txt'
- with open(USER_LIST) as f:
- for line in f:
- line = line.replace("\n","")
- test = line.split(":x:")[0]
- print "Write %s"%test
- open('user.txt', 'a').write(test+"\n")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement