On Tue, Jul 3, 2012 at 12:24 PM, Jake Vanderplas
<[email protected]> wrote:
> 3) Currently the exercises follow the format that Olivier set up in his
> tutorials, with a "skeleton" and a "solution" for each example script.
> On Fernando's suggestion, I'd like to move to using ipython notebooks
> for these examples.  I think it leads to a much smoother interface,
> especially the ability to try-out code snippets one-by-one, avoiding
> errors associated with running incomplete code.  This may lead to a
> problem: ipython notebook is still relatively new, and not everyone can
> read *.ipynb files.  Any input on whether I should remove the current
> skeleton/solution scripts in favor of ipython notebooks, or try to
> retain both versions of each example for broader compatibility?

Quick notes:

- If you start the notebook with --script, it auto-saves the notebook
also as a .py file every time you save.

- Jonathan Taylor wrote a script to run a notebook from the command
line by modifying some of Min's earlier code:

https://gist.github.com/2894405

- nbconvert itself is pretty easy to hack on, and with a very small
amount of work it can be extended to writing out .py files as well (I
just added markdown ouptut a few days ago).

These tools will let you ship to users .py and rst/html versions of
the examples so they don't depend on the notebook, while being able to
use the notebook versions if they want too (and letting devs do the
development in the notebook if you wish).

Cheers,

f

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to