MCPcopy Index your code
hub / github.com/ipython/ipython / _run_exec_files

Method _run_exec_files

IPython/core/shellapp.py:445–456  ·  view source on GitHub ↗

Run files from IPythonApp.exec_files

(self)

Source from the content-addressed store, hash-verified

443 self.shell.showtraceback()
444
445 def _run_exec_files(self):
446 """Run files from IPythonApp.exec_files"""
447 if not self.exec_files:
448 return
449
450 self.log.debug("Running files in IPythonApp.exec_files...")
451 try:
452 for fname in self.exec_files:
453 self._exec_file(fname)
454 except:
455 self.log.warning("Unknown error in handling IPythonApp.exec_files:")
456 self.shell.showtraceback()
457
458 def _run_cmd_line_code(self):
459 """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.45

Tested by

no test coverage detected