Skip to content

Instantly share code, notes, and snippets.

@elconde
elconde / CsvToArray.py
Created October 25, 2012 16:52 — forked from tony-landis/CsvToArray.py
Convert CSV string to fixed width text table
"""
Convert CSV string to fixed width text table. Supports multi-line rows, column width limits, and creates a header row automatically
@author Tony Landis
@link http://www.tonylandis.com
@license GPL
"""
from math import ceil
class CsvToTxt():