'run the pre-flight code, specified via exec_lines'

def init_code(self):

    self._run_startup_files()
    self._run_exec_lines()
    self._run_exec_files()
    if self.hide_initial_ns:
        self.shell.user_ns_hidden.update(self.shell.user_ns)
    self._run_cmd_line_code()
    self._run_module()
    sys.stdout.flush()
    sys.stderr.flush()
