Show More
@@ -303,10 +303,11 b' class IPythonRunner(InteractiveRunner):' | |||||
303 |
|
303 | |||
304 | def __init__(self,program = 'ipython',args=None,out=sys.stdout,echo=True): |
|
304 | def __init__(self,program = 'ipython',args=None,out=sys.stdout,echo=True): | |
305 | """New runner, optionally passing the ipython command to use.""" |
|
305 | """New runner, optionally passing the ipython command to use.""" | |
306 |
|
||||
307 | args0 = ['--colors=NoColor', |
|
306 | args0 = ['--colors=NoColor', | |
308 | '--no-term-title', |
|
307 | '--no-term-title', | |
309 |
'--no-autoindent' |
|
308 | '--no-autoindent', | |
|
309 | # '--quick' is important, to prevent loading default config: | |||
|
310 | '--quick'] | |||
310 | if args is None: args = args0 |
|
311 | if args is None: args = args0 | |
311 | else: args = args0 + args |
|
312 | else: args = args0 + args | |
312 | prompts = [r'In \[\d+\]: ',r' \.*: '] |
|
313 | prompts = [r'In \[\d+\]: ',r' \.*: '] |
General Comments 0
You need to be logged in to leave comments.
Login now