Skip to content

Instantly share code, notes, and snippets.

@robhudson
robhudson / ipy_user_conf.py
Created March 20, 2009 22:08 — forked from jacobian/ipy_user_conf.py
Fork of Jacob's ipython config to make the prompt just like standard Python
import os
import time
import readline
import ipy_defaults
import IPython.ipapi
import ipy_stock_completers
ip = IPython.ipapi.get()
o = ip.options
from mimetypes import guess_type
from django.core.exceptions import ImproperlyConfigured
from django.core.files.storage import Storage
from django.utils.encoding import iri_to_uri
import re
try:
import S3
except ImportError:
raise ImproperlyConfigured, "Could not load amazon's S3 bindings.\