This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from string import split | |
class Table: | |
def __init__(self): | |
self.labels = [] | |
self.data = [] | |
def populate(self, file_name, col_delim="\t", row_delim="\n"): | |
f = open(file_name, 'r') |