Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- import re
- ##############################
- # Author : SoUiLaHxXx_Dz #
- ##############################
- mails = raw_input("MailList : ")
- type = raw_input("Mail [hotmail Or gmail...etc] : ")
- result = raw_input("New MailList : ")
- mails = open(mails, "r")
- nn = open(result, "a")
- for x in mails:
- x = x.strip()
- if re.search(type, x):
- print x
- nn.write(x+"\n")
- else:
- pass
- mails.close()
- nn.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement