Skip to content

Notebook ​

Romain CasatiNovember 23, 2026· in Python, Notebook, Console· 2 min read

Step-by-step simulations with plt.pause ​

In Basthon, plt.pause now animates Matplotlib figures: a loop can show a simulation being built step by step, in the console as in the notebook.

Continue reading


Romain CasatiNovember 19, 2026· in C, Notebook, Console· 2 min read

Images and drawings in C ​

Basthon's C kernel is no longer limited to text: it builds images and draws, directly in the console and in the notebook.

Continue reading


Romain CasatiNovember 13, 2026· in Notebook· 1 min read

A file editor in the notebook ​

Basthon's notebook gets a file editor again, inspired by Jupyter's. It is opened with File > Edit files... or with the pencil button of the toolbar, next to "Open".

It lists the text files of the kernel: the extra files loaded or created by the program, and the installed modules. They can be edited, with the syntax highlighting suited to their extension, saved (Ctrl+S), created or downloaded. Handy to fix a value in a CSV, prepare the file a program will read or touch up a module without leaving the notebook!

Saved files are put back after a restart of the kernel. After changing a module, restart the kernel to import its new version. The editor warns before closing or switching files if changes have not been saved.

Play with it!


Romain CasatiNovember 13, 2026· in Notebook· 2 min read

The notebook on a phone ​

Basthon's notebook now fits phone screens: you can read, write and run code at your fingertips, in portrait as in landscape.

Continue reading


Romain CasatiOctober 29, 2026· in XCAS, OCaml, C, Console, Notebook· 2 min read

Completion in XCAS, OCaml and C ​

After SQL, JavaScript and R, the Tab key now completes names in XCAS, OCaml and C, in the console, the notebook and the basthon command. All of Basthon's languages now have completion.

Continue reading