MCPcopy Create free account
hub / github.com/ipython/ipython / _run_exec_files

Method _run_exec_files

IPython/core/shellapp.py:386–397  ·  view source on GitHub ↗

Run files from IPythonApp.exec_files

(self)

Source from the content-addressed store, hash-verified

384 self.shell.showtraceback()
385
386 def _run_exec_files(self):
387 """Run files from IPythonApp.exec_files"""
388 if not self.exec_files:
389 return
390
391 self.log.debug("Running files in IPythonApp.exec_files...")
392 try:
393 for fname in self.exec_files:
394 self._exec_file(fname)
395 except:
396 self.log.warning("Unknown error in handling IPythonApp.exec_files:")
397 self.shell.showtraceback()
398
399 def _run_cmd_line_code(self):
400 """Run code or file specified at the command-line"""

Callers 1

init_codeMethod · 0.95

Calls 3

_exec_fileMethod · 0.95
debugMethod · 0.80
showtracebackMethod · 0.80

Tested by

no test coverage detected