How can I include a Python interpreter written in Javascript in Moodle?

Re: How can I include a Python interpreter written in Javascript in Moodle?

by philippe juhel -
Number of replies: 0

Yes, this is this kind of console that I want to use but to do that, if I look the source code, I see that I must call the javascript function nammed 'brython' when the body is loaded (<body onload="brython({debug:1, cache:'version'})"> and I don't know how I can use the onload event with Moodle. 

This is my problem and if you have a solution...

 

Philippe