use home path
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
import os
|
||||
from pathlib import Path
|
||||
|
||||
from src.db.mongo_manager import MONGO_STORE_MANAGER
|
||||
from src.utils.excel_reader import read_contacts
|
||||
|
||||
# 检查联系人表的有邮件有没有在数据库中
|
||||
if __name__ == '__main__':
|
||||
contacts = read_contacts("/Users/panlei/Desktop/yahoo_aol_valid_16.xlsx")
|
||||
contacts = read_contacts(str(Path.home()) + "/Desktop/contact_list_2024-06-01.xlsx")
|
||||
mail_list = MONGO_STORE_MANAGER.get_destination_emails()
|
||||
print("mail_list size is " + str(len(mail_list)))
|
||||
mail_raw_list = []
|
||||
Reference in New Issue
Block a user