Skip to content

Posts ​

Romain CasatiJanuary 19, 2021

· 1 min read

Is Basthon asleep? ​

Who thought that Basthon's development was resting? I also work upstream by contributing to @pyodide, and here is now the integration of Pyodide v0.16.1 into Basthon.

What does it change? Among other things, Python 3.8 arrives, along with the long-awaited PIL module! https://notebook.basthon.fr/?from=examples/moon.ipynb&aux=examples/moon.jpg

There is also the compression of sharing links, which allows longer scripts and notebooks to be shared!

This should be transparent for users, who can still use their old (uncompressed) links.


Romain CasatiNovember 24, 2020

· 1 min read

p5.js support ​

p5.js lands in Basthon and sets it on fire!

A big step in the development of Basthon!

To be found on https://basthon.fr/galerie.html

I am still amazed by the power of @pyodide!


Romain CasatiNovember 24, 2020

· 1 min read

Slideshows in the Notebook ​

RISE is now supported in Basthon-Notebook. https://rise.readthedocs.io/ Slideshows are yours!


Romain CasatiNovember 4, 2020

· 1 min read

Image processing with matplotlib ​

Who said that, since PIL is not supported, you cannot process images with Basthon?

https://notebook.basthon.fr/?from=examples/traitement-image.ipynb&aux=examples/sandbox.png

https://notebook.basthon.fr/?from=examples/snake.ipynb&aux=examples/snake.png


Romain CasatiNovember 4, 2020

· 1 min read

URL parameters ​

Need to load an extra file or a module when Basthon starts? Use the aux and module URL parameters. An example: https://notebook.basthon.fr/?from=examples/traitement-image.ipynb&aux=examples/sandbox.png

See the documentation:

https://basthon.fr/doc.html#subsection.2.6

https://basthon.fr/doc.html#subsection.2.7

https://basthon.fr/doc.html#subsection.3.5

https://basthon.fr/doc.html#subsection.3.6