jawa.util.shell module

jawa.util.shell.start_shell(local_ns: Dict = None, banner: str = '')[source]

Create and immediately drop into a Python shell.

If IPython version 5 or greater is available it will be used instead of the built-in python shell.

  • local_ns – An optional dict containing the global namespace of the newly created shell.
  • banner – An optional banner to render when terminal starts.