Last active
May 22, 2018 02:29
-
-
Save RichardBronosky/570492 to your computer and use it in GitHub Desktop.
ipython ipshell pattern
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
""" | |
if you pass arguments to django-admin.py (like --settings=...) they also get | |
passed to IPShell, unless you explicitly specify argv to contain an empty list. | |
The oneliner below works. It has a short url of http://j.mp/ipshell | |
pull it into vim with... | |
:r!curl -sL j.mp/ipshell | |
""" |
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 pprint import pprint; import IPython; IPython.embed() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment