google sheet recheck data error ! - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Web Scraping & Web Development (https://python-forum.io/forum-13.html) +--- Thread: google sheet recheck data error ! (/thread-32916.html) |
google sheet recheck data error ! - puttimet38 - Mar-16-2021 help me ! I'm helpless def log_log(): logdate_text1 = driver.find_element_by_xpath('//*[@id="tblData"]/tr[1]/td[6]') logdes_text1 = driver.find_element_by_xpath('//*[@id="tblData"]/tr[1]/td[7]') list_date1 = [logdate_text1.text] list_des1 = [logdes_text1.text] records_data = Worksheet.get_all_values(1) print(records_data) print(list_date1) data_1 = [records_data] if list_date1 == data_1: time.sleep(1) print('Yes') else: Worksheet.append_row(list_date1) print("complete!") time.sleep(1)https://ibb.co/rmkGrS9 https://ibb.co/Ry7CTQ5 RE: google sheet recheck data error ! - Larz60+ - Mar-16-2021 You don't provide very mush information. please read: https://python-forum.io/misc.php?action=help&hid=19 RE: google sheet recheck data error ! - puttimet38 - Mar-21-2021 (Mar-16-2021, 03:07 PM)Larz60+ Wrote: You don't provide very mush information. sorry. |