Skip to content

Instantly share code, notes, and snippets.

@nnja
Created August 2, 2019 12:55
Show Gist options
  • Save nnja/b979d0d2257524338d1fcacc4b41a4a7 to your computer and use it in GitHub Desktop.
Save nnja/b979d0d2257524338d1fcacc4b41a4a7 to your computer and use it in GitHub Desktop.
My .pdbrc file with an interacti alias
# Install IPython: python3 -m pip install ipython
import IPython
from traitlets.config import get_config
cfg = get_config()
cfg.InteractiveShellEmbed.colors = "Linux" # syntax highlighting
cfg.InteractiveShellEmbed.confirm_exit = False
alias interacti IPython.embed(config=cfg)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment