##// END OF EJS Templates
Merge pull request #3323 from takluyver/strip-prompts...
Merge pull request #3323 from takluyver/strip-prompts Strip prompts even if the prompt isn't present on the first line. Users (including me) often copy and paste examples from just after the first prompt. This checks for prompts in the first two lines of a block, but if they aren't found there, it will ignore prompt-like prefixes in later lines, to minimise interference with multi-line strings etc. This fixes both incoming copies (transformed before running code) and outgoing (copied from the Qt console). Closes #3206

File last commit:

r4246:4232a692
r10679:689d7bfc merge
Show More
ipython
7 lines | 153 B | text/plain | TextLexer
#!/usr/bin/env python
"""Terminal-based IPython entry point.
"""
from IPython.frontend.terminal.ipapp import launch_new_instance
launch_new_instance()