Skip to content
Permalink
Browse files
push
  • Loading branch information
xhebexhiua committed Apr 6, 2021
1 parent a38d2d1 commit 5655c5e465e16a2fc83f2bd43d484f75c4d468cb
Showing 1 changed file with 2 additions and 2 deletions.
@@ -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

0 comments on commit 5655c5e

Please sign in to comment.