(self, filename=None, sep=',')
return
Import from csv file
Import from csv file
Import from csv file
def importCSV(self, filename=None, sep=','):
        """Import from csv file"""

        if filename is None:
            from .Tables_IO import TableImporter
            importer = TableImporter()
            importdialog = importer.import_Dialog(self.master)
            self.master.wait_window(importdialog)
            model = TableModel()
            model.importDict(importer.data)
        else:
            model = TableModel()
            model.importCSV(filename, sep=sep)
        self.updateModel(model)
        return
def importCSV ( self , filename = None , sep = ',' ) : if filename is None : from . Tables_IO import TableImporter importer = TableImporter ( ) importdialog = importer . import_Dialog ( self . master ) self . master . wait_window ( importdialog ) model = TableModel ( ) model . importDict ( importer . data ) else : model = TableModel ( ) model . importCSV ( filename , sep = sep ) self . updateModel ( model ) return