<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Feb 25, 2014 at 1:45 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div>From within IPython, you can now run a notebook with: %run foo.ipynb<br>

<br></div>I don't believe there's any neat way of doing it from a system shell, though.</div></div></blockquote><div><br></div><div>There is: </div><div><br></div><div>alpamayo[~]> ipython -c "%run foo.ipynb"</div>

<div>this is a notebook!</div><div>['/home/fperez/usr/bin/ipython', '-c', '%run foo.ipynb']</div><div><br></div><div>Cheers</div><div><br></div><div>f</div></div>
</div></div>