<div dir="ltr">Thanks for the advice. It looks like guide I mentioned can still serve as a useful starting, and I'll just make changes along the lines you suggested.<br>-m<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 5, 2015 at 5:56 PM, Thomas Kluyver <span dir="ltr"><<a href="mailto:takowl@gmail.com" target="_blank">takowl@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class=""><div class="gmail_extra"><div class="gmail_quote">On 5 March 2015 at 01:26, Mark Andrews <span dir="ltr"><<a href="mailto:mjandrews.net@gmail.com" target="_blank">mjandrews.net@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">However, it looks like some of its code is now out of date. For example, I get warnings about deprecated code.</blockquote></div><br></div></span><div class="gmail_extra">At a glance, the main changes are:<br><br></div><div class="gmail_extra">nbformat.current is deprecated - it was an API that would always refer to the latest version of nbformat, but we decided that wasn't so useful. Now use:<br><br></div><div class="gmail_extra">from IPython import nbformat<br><br></div><div class="gmail_extra">Then you'll need to specify the in-memory format you're expecting when you load a notebook:<br><br></div><div class="gmail_extra">nb = nbformat.reads(response.text, as_version=4)<br><br></div><div class="gmail_extra">If you load the notebook as version 4, then we got rid of the notion of worksheets, so you can take out any references to '.worksheets[0]'.<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888"><div class="gmail_extra">Thomas<br></div></font></span></div>
<br>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></blockquote></div><br></div>