INNER CODE UNIT · Python

create_tab_in_existing_workbook

Squarespace/datasheets · datasheets/convenience.py:12

def create_tab_in_existing_workbook(filename, tabname, file_id=None):
    """Create a new tab in an existing workbook and return an instance of that tab

    Either filename (i.e. title) or file_id should be provided. Providing file_id is preferred
    as it is more precise.


    Args:
        filename (str): The name of the existing workbook in which the tab will be created

        tabname (str): The name of the tab to be created

        file_id (str): The unique file_id for the workbook. If provided, the file_id will be
            used instead of the filename


    Returns:
        datasheets.Tab: An instance of the newly created tab

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…