Created
August 5, 2016 10:03
-
-
Save georgexsh/ddf6605a487f98404160c310f9d04040 to your computer and use it in GitHub Desktop.
ipython unicode literals on startup
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
from IPython.terminal.ipapp import TerminalIPythonApp | |
app = TerminalIPythonApp.instance() | |
context = make_shell_context() | |
app.exec_lines = ['from __future__ import unicode_literals',] | |
app.user_ns = context | |
app.initialize(argv=['--no-banner',]) | |
app.start() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment