Skip to content

November 2020 ​

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


Romain CasatiNovember 4, 2020

· 1 min read

Sharing by URL ​

Sharing scripts and notebooks by URL in Basthon is limited. If the document is available on the web, the from URL parameter can be used. An example: https://console.basthon.fr/?from=https://raw.githubusercontent.com/python/cpython/master/Tools/freeze/hello.py

More details in the documentation:

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

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