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

Method start

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

Source from the content-addressed store, hash-verified

348 self.pylab = 'auto'
349
350 def start(self):
351 if self.subapp is not None:
352 return self.subapp.start()
353 # perform any prexec steps:
354 if self.interact:
355 self.log.debug("Starting IPython's mainloop...")
356 self.shell.mainloop()
357 else:
358 self.log.debug("IPython not interactive...")
359 if not self.shell.last_execution_succeeded:
360 sys.exit(1)
361
362def load_default_config(ipython_dir=None):
363 """Load the default config file from the default ipython_dir.

Callers

nothing calls this directly

Calls 3

debugMethod · 0.80
startMethod · 0.45
mainloopMethod · 0.45

Tested by

no test coverage detected