Skip to content

November 2020 ​

Romain CasatiOctober 30, 2020

· 1 min read

Pyodide from JSDelivr ​

In Basthon, Pyodide is now loaded from JSDelivr because of https://github.com/iodide-project/pyodide/pull/779 This should be transparent for users.

If you installed Basthon on your own server, you can also serve Pyodide by putting it in the basthon_kernel directory.


Romain CasatiOctober 28, 2020

· 1 min read

Graphviz ​

For graph lovers, the graphviz module is now supported in Basthon.

This was made possible by the viz.js library (Graphviz compiled for the browser) and an adaptation of PyPI's graphviz module. https://basthon.fr/about.html#third-party

Thanks @JulienVillele for giving the impulse that led to this integration!

I forgot to mention that adding new modules does not make Basthon heavier to use, since they are (down)loaded on demand.


Romain CasatiOctober 28, 2020

· 1 min read

Basthon in Canoprof ​

A nice integration of Basthon in #Canoprof. Well done @samchatice. https://x.com/samchatice/status/1321143357050114048


Romain CasatiOctober 23, 2020

· 1 min read

Listing the Python modules ​

Many of you ask me for the list of the modules supported by Basthon. To get it, just type help("modules").


Romain CasatiOctober 22, 2020

· 1 min read

Loading a data file ​

Until now, it was not easy in Basthon to have students work on extra files (text, CSV, image, etc.). Now, you can load them directly into Basthon, then open them from Python! That will make people happy!

Of course, the file does not travel over the network, it stays on the client side. You are starting to know Basthon's philosophy!

So the open button now has two functions:

  1. if the selected file has a .py (for the console) or .ipynb (for the notebook) extension, this file is shown in the environment

  2. otherwise, the file is put on the browser's local filesystem and is available from Python