Skip to content

Posts ​

Romain CasatiOctober 6, 2022

· 1 min read

Python 3.10.2 ​

Python 3.10.2 lands in Basthon thanks to the excellent @pyodide v0.21.3!

The old Python 3.8 kernel is still available at https://notebook.basthon.fr/?kernel=python3-old and https://console.basthon.fr/?kernel=python3-old

And a real input for the console!

And for the notebook too!


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

A real input ​

And a real input for the console and the notebook!


Romain CasatiOctober 1, 2022· in Notebook· 1 min read

Admonitions in the notebook ​

The Markdown cells of Basthon's notebook accept admonitions, these coloured boxes that come in very handy to highlight an instruction, a tip or a warning:

markdown
!!! question Exercise 1
Write a function `square(x)` that returns the square of `x`.
!!!

A dozen types are available: note, info, tip, success, question, warning, danger, bug, example, quote…

Play with it!

Admonitions


Romain CasatiMarch 20, 2022

· 1 min read

Basthon-Desktop on macOS ​

Any volunteers to test the macOS version of Basthon-Desktop? https://basthon.fr/desktop.html I have no machine to do it. Thanks!


Romain CasatiMarch 19, 2022

· 1 min read

Basthon in desktop mode ​

Need to use Basthon offline? Very easy with Basthon-Desktop https://basthon.fr/desktop.html! A turnkey solution for the practical exam of NSI 🎉

Basthon-Desktop on Windows

Basthon-Desktop on GNU/Linux