<div dir="ltr">I was looking at that and wondering if that was the way to go. I'll give that a try, thanks.<div><br></div><div>It might be worth adding a link to that and also clarifying what the run command does here <a href="http://nbviewer.ipython.org/gist/fperez/b3ab79a32b0e4777a646">http://nbviewer.ipython.org/gist/fperez/b3ab79a32b0e4777a646</a> (and also the 'live notebook' link gives a 404).</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 18, 2015 at 9:17 AM, Zoltán Vörös <span dir="ltr"><<a href="mailto:zvoros@gmail.com" target="_blank">zvoros@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hi Ana,</p>
<p dir="ltr">You could use Thomas' runipy project for this. I have to say that it is really handy for problems like this.</p>
<p dir="ltr">I hope this helps, </p>
<p dir="ltr">Zoltán</p>
<div class="gmail_quote"><div><div class="h5">On 18 Mar 2015 17:12, "Ana Nelson" <<a href="mailto:ana@ananelson.com" target="_blank">ana@ananelson.com</a>> wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">I'm creating notebooks via nbformat following the pattern of Fernando's v4 gist:<div><a href="http://nbviewer.ipython.org/gist/fperez/b3ab79a32b0e4777a646" target="_blank">http://nbviewer.ipython.org/gist/fperez/b3ab79a32b0e4777a646</a><br></div><div><br></div><div>(BTW it might be helpful to link to the new gist from the older version here <a href="http://nbviewer.ipython.org/gist/fperez/9716279" target="_blank">http://nbviewer.ipython.org/gist/fperez/9716279</a>)</div><div><br></div><div>I'd like to run a command line script to populate the outputs in this notebook so that when a user opens the generated notebook, it has already been run.</div><div><br></div><div>I thought that might have been the intention of the ipython -c '%run test.ipynb' command, but that doesn't seem to have any effect. Am I doing something wrong or is there some other command I should be calling?</div></div>
<br></div></div>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org" target="_blank">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>_______________________________________________<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>