コード例 #1
0
ファイル: DS_xlsx.py プロジェクト: Draco-/libDataStreams
    def __init__(self, name='not named'):
        DS_basic.__init__(self, name)

        self.ds_file = None                 #a file object, where the data source gets the data
        self.ds_filename = None             #the file name string of the underlying data file
        self.ds_table = None                #the table object, where the data source gets the data from
        self.ds_tablename = None            #the table name, that names the table in the underlying data file
        self.ds_reader = None               #a reader object, needed for providing the data one by one
コード例 #2
0
ファイル: DS_csv.py プロジェクト: Draco-/libDataStreams
    def __init__(self, name="not named"):
        DS_basic.__init__(self, name)

        self.ds_file = None  # a file object, where the data source gets the data
        self.ds_fldSep = ";"  # the field separator to be used in the csv data source
        self.ds_filename = None  # the file name string of the underlying data file