Re:New from Anaconda: Python in the Browser
by thundergolfer on Monday May 02, 2022 @01:50AM
(#31231821)
Nice. Running `type(M @ A)` shows it is numpy, but also throws a TypeError: `TypeError: descriptor '__repr__' of 'numpy.ndarray' object needs an argument`.
I saw an interesting blog post today already that starts to get at the potential. The author, Eric Ma, interweaves python and numpy code throughout his blog post and provides an interactive REPL for the user to try it themselves, and all the code is visible in the view source for the page.
https://ericmjl.github.io/blog/2022/5/1/pyscript-python-in-t...