def __init__(self, file, verbose, interactive, timeout=None, **fields): super().__init__(**fields) self.file = file self.verbose = verbose self.interactive = interactive self.timeout = timeout self.console = pyconsole.PythonConsole(self.verbose, self.interactive, self.timeout)
def __init__(self, file, verbose, interactive, timeout=None, ignore_empty=False, parsons=False, **fields): super().__init__(**fields) self.file = file self.verbose = verbose self.interactive = interactive self.timeout = timeout self.ignore_empty = ignore_empty self.console = pyconsole.PythonConsole(self.verbose, self.interactive, self.timeout, parsons)
def createConsole(self, verbose=True, interactive=False, timeout=None): return pyconsole.PythonConsole(verbose, interactive, timeout)