module documentation

Contains some helper functions

Function loadList loads data from a file into a list
Function loadProperties Loads data from a file into a dict
def loadList(listFile): (source)

loads data from a file into a list

This function loads simply each line of the file into a list. If the filename is empty, a empty list is returned. If the file given doesn't exist, it will be created.

Parameters
listFile:stringthe file to deal with
Returns
listUndocumented
def loadProperties(propertiesFile, ambiguous=False, enc='ISO-8859-15'): (source)

Loads data from a file into a dict

The data in the file should have the format key=valu. If the file doesn't exist, it will be created. If no filename is given an empty dict is returned.

Parameters
propertiesFile:stringThe file to deal with
ambiguousUndocumented
encUndocumented
Returns
dictUndocumented