A class implementing an input file.
Create an input file.
All lines in the specified text file will be read into a list of strings.
filename : str, optional
name of the input file
encoding : str, optional
the encoding used to read the content of the file
Getter for current_line.
Getter for filename.
Get a specific line.
If no line is given, the current line will be returned and the value of current_line will be increased by one. First line is line 1.
line : int, optional
number of the line to get
line : str
line as string or None if line does not exist
Getter for lines.
Getter for logging.
Getter for n_lines.
Set logging of this object on or off
onoff : bool
set logging on (True) or off (False)
See also design.experiment.set_log_level fur further information about event logging.