mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-20 03:23:23 +08:00
15 lines
381 B
Python
15 lines
381 B
Python
![]() |
from IPython.config.loader import Config
|
||
|
from IPython.terminal.embed import InteractiveShellEmbed
|
||
|
from pykd import *
|
||
|
|
||
|
cfg = Config()
|
||
|
|
||
|
cfg.InteractiveShell.colors = 'NoColor'
|
||
|
cfg.PromptManager.in_template = 'In <\\#>: '
|
||
|
cfg.PromptManager.in2_template = ' .\\D.: '
|
||
|
cfg.PromptManager.out_template = 'Out<\\#>: '
|
||
|
|
||
|
ipshell = InteractiveShellEmbed(config=cfg)
|
||
|
|
||
|
ipshell()
|