Python Forum

Full Version: help ! selenium and google sheet
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to check the data and send it to write it on Google sheet.
And want to find information for specific words written on Google sheet .

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]')
    #list1 = [logdate_text1.text, logdes_text1.text]
    list_date1 = [logdate_text1.text]
    list_des1 = [logdes_text1.text]
    if list_des1 == '1':
        Worksheet.append_row(list_des1)
    else:
        time.sleep(1)
    #Worksheet.append_row(list1)
    print("complete!")
    time.sleep(1)
perhaps one of these packages will do what you are looking for: https://pypi.org/search/?q=google%2Bsheet
(Mar-12-2021, 09:39 AM)Larz60+ Wrote: [ -> ]perhaps one of these packages will do what you are looking for: https://pypi.org/search/?q=google%2Bsheet

thank you for your support.