Contains some helper functions

Function loadProperties Loads data from a file into a dict
Function loadList loads data from a file into a list
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.

ParameterspropertiesFileThe file to deal with (type: string)
Returns (type: 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.

ParameterslistFilethe file to deal with (type: string)
Returns (type: list)
API Documentation for OtfBot, generated by pydoctor at 2020-03-04 02:00:06.