update contact list
This commit is contained in:
Binary file not shown.
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user