class documentation

class ToolboxSettings(StandardFormat): (source)

View In Hierarchy

This class is the base class for settings files.

Method __init__ Undocumented
Method parse Return the contents of toolbox settings file with a nested structure.

Inherited from StandardFormat:

Method close Close a previously opened standard format marker file or string.
Method fields Return an iterator that returns the next field in a (marker, value) tuple, where marker and value are unicode strings if an encoding was specified in the fields() method. Otherwise they are non-unicode strings.
Method open Open a standard format marker file for sequential reading.
Method open_string Open a standard format marker string for sequential reading.
Method raw_fields Return an iterator that returns the next field in a (marker, value) tuple. Linebreaks and trailing white space are preserved except for the final newline in each field.
Instance Variable line_num Undocumented
Instance Variable _encoding Undocumented
Instance Variable _file Undocumented
def __init__(self): (source)

Undocumented

def parse(self, encoding=None, errors='strict', **kwargs): (source)

Return the contents of toolbox settings file with a nested structure.

Parameters
encoding:strencoding used by settings file
errors:strError handling scheme for codec. Same as decode() builtin method.
**kwargs:dictKeyword arguments passed to StandardFormat.fields()
Returns
ElementTree._ElementInterfaceUndocumented