i have code python
i filter @hotmail.com to hotmail.txt is ok
i want add other mail Other_mail ( ex : gmail,yahoo,aol,gmx...vvvv.. in Other_mail.txt )
plz help me
Code:
emails = open("email.txt", "r")
hotmail = open("hotmail.txt", "a")
for email in emails :
if '@hotmail' in email :
hotmail.write(email)
emails.close()
hotmail.close()
i filter @hotmail.com to hotmail.txt is ok
i want add other mail Other_mail ( ex : gmail,yahoo,aol,gmx...vvvv.. in Other_mail.txt )
plz help me