Skip to content

Python ​

Romain CasatiJune 16, 2023· in Python, Notebook· 1 min read

The filesystem:/ scheme ​

The files created by Python in Basthon can now be reached with the filesystem:/ prefix. An image generated with PIL, for instance, can be loaded with loadImage in p5 or shown directly in a Markdown cell:

markdown
![my image](filesystem:/my_image.png)

Play with it!

Image of the filesystem shown in Markdown


Romain CasatiJune 16, 2023· in Python· 1 min read

Python 3.11 ​

Thanks to the update of Pyodide to version 0.23, Basthon's Python kernel moves to Python 3.11. On the menu: a much faster interpreter and more precise error messages, which point exactly at the faulty expression. A real plus for students!

Python 3.11


Romain CasatiJanuary 30, 2023· in New modules, Python· 1 min read

Plotly ​

The Plotly module appears in Basthon's Python kernel: plenty of fun making nice interactive charts!

Play with it!

plotly


Romain CasatiOctober 6, 2022· in Python· 1 min read

A real input ​

And a real input for the console and the notebook!


Romain CasatiOctober 7, 2020· in Python· 1 min read

Presentations ​

Want an overview of what can be done with Basthon? Browse the gallery on https://basthon.infobrisson.fr/galerie.html

Interfaces ​

You prefer a script+console interface to work with your students? Choose Basthon-Console: https://python.infobrisson.fr Notebooks are your thing? Use Basthon-Notebook: https://notebook.infobrisson.fr

Is Basthon heavy for the server? ​

Afraid that Basthon becomes a victim of its own success and that the server cannot cope? Don't worry, Basthon costs very little to the server, and I have another hosting up my sleeve that I would set up if needed!

Still in doubt about Basthon handling the load? No problem: host your own version of Basthon on your personal page or in your school. It is as simple as extracting an archive: https://basthon.infobrisson.fr/about.html#install