A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ipython/ipython/issues/1487/ below:

%notebook fails in qtconsole · Issue #1487 · ipython/ipython · GitHub

%notebook -e foo.py
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/opt/source/packaging/pandas/pandas_build_virtenv/<ipython-input-245-d2b2edf081ed> in <module>()
----> 1 get_ipython().magic(u'notebook -e foo.py')

/usr/lib/python2.7/dist-packages/IPython/core/interactiveshell.pyc in magic(self, arg_s, next_input)
   1996                 self._magic_locals = sys._getframe(1).f_locals
   1997             with self.builtin_trap:
-> 1998                 result = fn(magic_args)
   1999             # Ensure we're not keeping object references around:

   2000             self._magic_locals = {}

/usr/lib/python2.7/dist-packages/IPython/core/magic.pyc in magic_notebook(self, s)
   3547                 cells.append(current.new_code_cell(prompt_number=prompt_number, input=input))
   3548             worksheet = current.new_worksheet(cells=cells)
-> 3549             nb = current.new_notebook(name=name,worksheets=[worksheet])
   3550             with open(fname, 'w') as f:
   3551                 current.write(nb, f, format);

TypeError: new_notebook() got an unexpected keyword argument 'name'



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4