use home path for extraction

This commit is contained in:
2025-03-25 18:37:16 +01:00
parent 89a37295c0
commit 2f781ad544
2 changed files with 6 additions and 5 deletions
+4 -3
View File
@@ -1,10 +1,11 @@
from cython_extract_methods import generate_contact_from_mail_list
import pathlib
from extract_name_with_pinyinlist import generate_contact_from_csv_file
if __name__ == '__main__':
generate_contact_from_csv_file('/Users/lpan/Downloads/gmx_sg_100.csv',
name_list_file_path="/Users/lpan/Documents/workspace/appointment_tool/src/person_name/all_new_name_list.txt")
_user_home_path = str(pathlib.Path.home())
generate_contact_from_csv_file(_user_home_path + '/Downloads/yahoo_200_25_03_2025.csv',
name_list_file_path=_user_home_path + "/Documents/workspace/appointment_tool/src/person_name/all_new_name_list.txt")
#
# start_position = 20827
# end_position = 21528