---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-1-6d5eb916fa3c> in <module>()
1 get_ipython().magic(u'run res/index.py')
----> 2 mk_index()
/users/schilly/Dokumente/pp/python-fuer-mathematiker/doc/res/index.py in mk_index()
38 for fn in sorted(glob("?-?-*.ipynb")):
39 with open(fn) as f:
---> 40 nb = current.read(f, "ipynb")
41 for cell in nb["worksheets"][0]["cells"]:
42 title = extract_title(cell)
AttributeError: 'module' object has no attribute 'read'