From 5655c5e465e16a2fc83f2bd43d484f75c4d468cb Mon Sep 17 00:00:00 2001 From: "Albert Xhebexhiu (xhebexhiua)" Date: Tue, 6 Apr 2021 11:23:00 +0100 Subject: [PATCH] push --- data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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