Package tlib :: Package base :: Module CsvModerator :: Class CsvHelper |
[hide private]
[frames] | no frames]

# Class CsvHelper

source code

    object --+
             |
            CsvHelper

Instance Methods | [hide private]
__init__(self, path) Constructor for class | source code
csv2dict(self) Convert csv data to lists, the result will be stored in data attribute | source code
Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Class Variables | [hide private]
| _data = ``[``]``
| _path = `None`

Properties | [hide private]
| data The csv data extracted from the file
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, path) (Constructor) | source code
Constructor for class Parameters: `path` - path to the excel file `isFirstRowHeader` - is the first row of the excel file a header row? If true, the return result for reach row will be dictionary, otherwise, it will be a list Overrides: object.__init__

Property Details | [hide private]

### data The csv data extracted from the file Get Method: unreachable.data(self) - The csv data extracted from the file