Skip to content

December 2021 ​

Romain CasatiMay 12, 2021

· 1 min read

Integrating ODEs ​

Many of you regretted that differential equations could not be integrated with scipy.integrate.odeint in Basthon. They can now! https://basthon.fr/galerie.html

I used the integrators written in pure Python of the latest version of Scipy https://docs.scipy.org/doc/scipy/reference/generated/scipy.integrate.solve_ivp.html, then rewrote scipy.integrate.odeint to use them. See https://framagit.org/casatir/basthon-kernel/-/tree/master/src/modules/_ivp/_ivp and https://framagit.org/casatir/basthon-kernel/-/blob/master/src/basthon-py/basthon/_hack_modules.py#L143

Many physics and chemistry teachers were waiting for it.


Romain CasatiMay 8, 2021

· 1 min read

An experimental integration in JupyterLite ​

You prefer JupyterLab to the classic notebook interface? Here is an experimental integration of Basthon's kernel in JupyterLab https://jupyterlab.basthon.fr Many thanks @jtpio @QuantStack for the excellent JupyterLite https://github.com/jtpio/jupyterlite

The source code is available here: https://framagit.org/casatir/basthon-jupyterlab


Romain CasatiApril 28, 2021

· 1 min read

The graphical output signals itself in the console ​

In Basthon-Console, it is not always obvious for beginners to open the graphical output after using Turtle, PIL, PythonTutor, p5, etc. Now, the button blinks when there is something to see!


Romain CasatiApril 28, 2021

· 1 min read

PythonTutor ​

PythonTutor lands in Basthon 🎉! Thanks to @JulienVillele for asking for this step forward!

Examples at the end of the gallery: https://basthon.fr/galerie.html and a documentation that explains the syntax https://basthon.fr/doc.html#subsection.4.4


Romain CasatiFebruary 2, 2021

· 1 min read

New error messages ​

Since an error message is useful, it might as well be readable! Do you prefer before or now?