diff --git a/data.py b/data.py index 5266111..49b811d 100644 --- a/data.py +++ b/data.py @@ -9,8 +9,8 @@ def check_mail(mail):#check the email if there is in file #I would like to thank the following site for the help it provides me # # https://www.codegrepper.com/search.php?q=how%20to%20find%20string%20in%20text%20file%20using%20python -def write_mail(mail):#check if email these is in file - there_is_mail=False# when we start the research do not know if the email there is in the file txt +def write_mail(mail):#check if email these is in file and them w + there_is_mail=False#when we start the research do not know if the email there is in the file txt file=open("mails.txt","r")# name of the file ,the reason why we need to open. r is means read with open('mails.txt') as f:# open the file as "f" if mail in f.read():# checking for email