added methode to generate check_name excel

This commit is contained in:
2023-11-03 22:15:43 +01:00
parent cf7155f9fb
commit 8d6c4fed35
8 changed files with 163 additions and 124 deletions
+3 -3
View File
@@ -1,9 +1,9 @@
from src.db.mongo_manager import MONGO_STORE_MANAGER
from src.utils.excel_reader import ExcelHelper
from src.utils.excel_reader import read_contacts
# 检查联系人表的有邮件有没有在数据库中
if __name__ == '__main__':
excel_reader = ExcelHelper()
contacts = excel_reader.read_contacts("/Users/lpan/Desktop/yahoo_aol.xlsx")
contacts = read_contacts("/Users/panlei/Desktop/yahoo_aol_valid_16.xlsx")
mail_list = MONGO_STORE_MANAGER.get_destination_emails()
print("mail_list size is " + str(len(mail_list)))
mail_raw_list =[]