Skip to content

Instantly share code, notes, and snippets.

@RichardBronosky RichardBronosky/comment
Last active May 22, 2018

Embed
What would you like to do?
ipython ipshell pattern
"""
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
"""
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
You can’t perform that action at this time.