!# code (Hash Bang Code)
4 supporters

New! A Look At Running Python In A Web Browser With PyScript

Jul 17, 2022

PyScript is a framework that allows browsers to run Python code using HTML and the power of Pyodide and WebAssembly. This means that the Python runtime runs natively and can make full use of any Python code or package available.

PyScript has some amazing features like being able to plug into the browser DOM and bi-directional communication between Python and JavaScript. This essentially means that you can use PyScript as a drop in replacement for JavaScript. It's better than that though as you can also include all of the Python packages you need to do what you want.

As a web developer who has recently been learning more Python, PyScript was very interesting to me. In this article I will look at how to get up and running with PyScript and what tags are available to make the most of the framework.

Read more here: https://www.hashbangcode.com/article/look-running-python-web-browser-pyscript

Enjoy this post?
Buy !# code (Hash Bang Code) a coffee
Sign up or Log in to leave a comment.