update contact list

This commit is contained in:
2022-03-02 23:19:48 +01:00
parent 04e49a2b23
commit cfc6b43b88
6 changed files with 27 additions and 24 deletions
Binary file not shown.
-11
View File
@@ -10,17 +10,6 @@ class ExcelHelper:
def __init__(self):
self._df = pandas.Series()
def write_phone(self, phone_ccid):
(phone, ccid) = phone_ccid
f = open("phone_list.txt", "a")
f.write("{},".format(phone[2:len(phone)]))
f.close()
def write_ccid(self, phone_number):
f = open("ccid_list.txt", "a")
f.write("{},".format(phone_number))
f.close()
def write_to_exel(self, file_name, data_list: list):
new_df = pandas.Series(data_list)
self._df = pandas.concat([self._df, new_df])