[IPython-dev] running/getting output into a new programmatically-generated notebook
ana at ananelson.com
Wed Mar 18 12:27:24 EDT 2015
I was looking at that and wondering if that was the way to go. I'll give
that a try, thanks.
It might be worth adding a link to that and also clarifying what the run
command does here
http://nbviewer.ipython.org/gist/fperez/b3ab79a32b0e4777a646 (and also the
'live notebook' link gives a 404).
On Wed, Mar 18, 2015 at 9:17 AM, Zoltán Vörös <zvoros at gmail.com> wrote:
> Hi Ana,
> You could use Thomas' runipy project for this. I have to say that it is
> really handy for problems like this.
> I hope this helps,
> On 18 Mar 2015 17:12, "Ana Nelson" <ana at ananelson.com> wrote:
>> I'm creating notebooks via nbformat following the pattern of Fernando's
>> v4 gist:
>> (BTW it might be helpful to link to the new gist from the older version
>> here http://nbviewer.ipython.org/gist/fperez/9716279)
>> 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.
>> 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?
>> IPython-dev mailing list
>> IPython-dev at scipy.org
> IPython-dev mailing list
> IPython-dev at scipy.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev