Skip to content

Instantly share code, notes, and snippets.

@joshourisman
Created October 2, 2012 10:31
Show Gist options
  • Save joshourisman/3818072 to your computer and use it in GitHub Desktop.
Save joshourisman/3818072 to your computer and use it in GitHub Desktop.
(virtualenv)project :: (±branch) » ./manage.py shell ~/Projects/project
Python 2.7.3 (default, Aug 11 2012, 18:22:59)
[GCC 4.2.1 Compatible Apple Clang 4.0 ((tags/Apple/clang-421.0.60))] on darwin
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from exceptions import UnicodeEncodeError
>>> from app.module import RECORD_TYPES
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/Users/josho/Projects/project/app/module.py", line 2, in <module>
from exceptions import UnicodeEncodeError
ImportError: cannot import name UnicodeEncodeError
>>> from exceptions import UnicodeEncodeError
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment