##// END OF EJS Templates
Let nbformat take care of opening the file...
Let nbformat take care of opening the file Notebook files should always be read as utf-8, but the default for io.open() is to use a platform-dependent default encoding. The easiest way around this is to pass the filename to nbformat.read() and let it open the file correctly. Bug identified at: http://stackoverflow.com/questions/43915006/encoding- error-in-jupyter-when-run-another-notebook

File last commit:

r23033:5dd70876
r23649:f7d480e5
Show More
log.py
6 lines | 124 B | text/x-python | PythonLexer
from warnings import warn
warn("IPython.utils.log has moved to traitlets.log", stacklevel=2)
from traitlets.log import *