That's sounds incredibly useful. Thanks for doing it!

On Monday, October 12, 2015 at 9:29:19 PM UTC-4, Steven G. Johnson wrote:
>
> NBInclude is a new registered package (
> https://github.com/stevengj/NBInclude.jl).  It is a drop-in replacement 
> for include(path) that allows you to execute IJulia notebook files rather 
> than .jl files.  That is, just do:
>
>     using NBInclude
>     nbinclude("mynotebook.ipynb")
>
> and it will be just as if you had called include("myfile.jl") on a Julia 
> file consisting of the code in that notebook.
>
> This allows you to develop code in a notebook, interspersed with formatted 
> comments, and re-use it easily, including within modules (where it works 
> with precompilation and relative paths, just like include).
>
> --SGJ
>

Reply via email to