(filename)
writes column data in worksheet into text files
    Args:
        filename (str): name of worksheet to read from
    Returns:
        None
writes column data in worksheet into text files
    Args:
        filename (str): name of worksheet to read from
    Returns:
        None
writes column data in worksheet into text files Args : filename ( str ) : name of worksheet to read from Returns : None
def toTextFiles(filename):
    """writes column data in worksheet into text files
    Args:
        filename (str): name of worksheet to read from
    Returns:
        None
    """
    wb = openpyxl.load_workbook(filename)
    sheet = wb.active
    count = 1

    for colObj in sheet.columns:
        
        with open('text-'+str(count)+'.txt', 'w') as file:
            for cellObj in colObj:
                file.write(cellObj.value)

        count += 1
def toTextFiles ( filename ) : wb = openpyxl . load_workbook ( filename ) sheet = wb . active count = 1 for colObj in sheet . columns : with open ( 'text-' + str ( count ) + '.txt' , 'w' ) as file : for cellObj in colObj : file . write ( cellObj . value ) count += 1