Created
August 2, 2019 12:55
-
-
Save nnja/b979d0d2257524338d1fcacc4b41a4a7 to your computer and use it in GitHub Desktop.
My .pdbrc file with an interacti alias
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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