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

Method start

IPython/terminal/ipapp.py:319–330  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

317 self.pylab = 'auto'
318
319 def start(self):
320 if self.subapp is not None:
321 return self.subapp.start()
322 # perform any prexec steps:
323 if self.interact:
324 self.log.debug("Starting IPython's mainloop...")
325 self.shell.mainloop()
326 else:
327 self.log.debug("IPython not interactive...")
328 self.shell.restore_term_title()
329 if not self.shell.last_execution_succeeded:
330 sys.exit(1)
331
332def load_default_config(ipython_dir=None):
333 """Load the default config file from the default ipython_dir.

Callers

nothing calls this directly

Calls 4

debugMethod · 0.80
restore_term_titleMethod · 0.80
startMethod · 0.45
mainloopMethod · 0.45

Tested by

no test coverage detected