| 1 | from IPython.terminal.prompts import Prompts, Token |
| 2 | |
| 3 | |
| 4 | class MyPrompt(Prompts): |
| 5 | def in_prompt_tokens(self, cli=None): |
| 6 | return [(Token.Prompt, '>>> ')] |
| 7 | |
| 8 | def out_prompt_tokens(self, cli=None): |
| 9 | return [] |
| 10 | |
| 11 | |
| 12 | c.InteractiveShell.prompts_class = MyPrompt |