(self)
| 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 | |
| 362 | def load_default_config(ipython_dir=None): |
| 363 | """Load the default config file from the default ipython_dir. |