Demo entry 6838988

example

   

Submitted by Alessio Ferrarini on Jun 12, 2019 at 16:15
Language: Python 3. Code size: 261 Bytes.

#[...]

sheet = client.open("Tabella Carburante").sheet1

#[...]

next_index = len(sheet.get_all_values()) + 1

while True:
    record = input("Inserisci il nuovo rifornimeto: ")
    sheet.insert_row(next_index, record.split("-"))
    next_index += 1

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).