Bases: penelopetools.api.input.penelope.io._FileHandler
Writes options to a HTML file.
Parameters: | file – a writable file-like object |
---|
Bases: penelopetools.api.input.penelope.io._FileHandler
Reads and writes options from/to an IN file.
The class variable _OPTION_INSTANCE specifies the class of the options to create when reading an IN file.
The class variable _ORDER specifies the order of the options in the IN file. It is a list of the attribute name of the options. Comments can be added as well.
Reads the IN file and returns an options.Options.
Parameters: | file – a file-like object |
---|
Writes the options to an IN file located at the specified filepath.
Parameters: |
|
---|
Bases: penelopetools.api.input.penelope.io._FileHandler
Reads and writes options from/to a XML file.
The class variable _OPTION_INSTANCE specifies the class of the options to create when reading a XML file.
Reads the XML file and returns an options.Options.
Parameters: | file – a file-like object |
---|
Writes the options to a XML file located at the specified filepath.
Parameters: |
|
---|