Moodle integration with Jupyter notebooks

Re: Moodle integration with Jupyter notebooks

by Mark Johnson -
Number of replies: 2
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Unfortunately there's not a plan to release OpenStudio at the moment.

In reply to Mark Johnson

Re: Moodle integration with Jupyter notebooks

by Ger Tielemans -

We have lecturers who teach Math, Python, R and are jumping between Moodle en Jupyter Notebook to allow students use editors with code evaluate options. I found in Moodle the Sage filter which connects to a SageCell server.
Sage had a Sage Notebook, but is now creating a version (8.1) on top of Jupyter Notebook: http://www.sagemath.org/

If you wish to use the complete functionality of Jupyter (and the new JupyterLab) you stick to that,
but why not have the option to connect to the server and borrow editor boxes you merge in a Moodle book, so you can combine the options from Moodle with such editors? 

The Sage plugin asks now for code between the sage tags like [sage]1+2[/sage] and shows only the result.

If you change the plugin in your own moodle (see below) it can also offer Sage in editor mode  [sage]...[/sage] and then you can type - in Moodle -  code like in the two attachments.

If you wish to create a "Jupyter-like" Moodle book you wish to offer students combinations of text with empty editors and editors already filled with code where students have to press the evaluate button like [sage]example code[/sage]

BUT: when there  are symbols in the code like < or > our Moodle/server combination FIRST replaces < with:   & l t ; 
If you press " evaluate" you get an error, but if you manually put the code symbol back and then press it works fine...

How to overrule this Moodle rewrite action?




Attachment icon375.png
Attachment icon377.png
In reply to Ger Tielemans

Re: Moodle integration with Jupyter notebooks

by Ger Tielemans -

In the new version of the plugin the < > problem is solved !!

SageCell 1.06 (2018013000)

Average of ratings: Useful (1)