Skip to content

Instantly share code, notes, and snippets.

/a.rb

Created April 18, 2016 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/8405067e6d8100c0a3b63a07189fad01 to your computer and use it in GitHub Desktop.
Save anonymous/8405067e6d8100c0a3b63a07189fad01 to your computer and use it in GitHub Desktop.
In [1]: import IPython.html; print(IPython.html)
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-8820782fc23d> in <module>()
----> 1 import IPython.html; print(IPython.html)
ImportError: bad magic number in 'IPython.html': b'\x03\xf3\r\n'
In [2]: IPython.__file__
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-2-3435cb2bcd48> in <module>()
----> 1 IPython.__file__
NameError: name 'IPython' is not defined
In [3]: import IPython
In [4]: IPython.__file__
Out[4]: '/home/epinux/dev/ipython/IPython/__init__.py'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment