PyScript, a probable game-changer technology in web development!

Image source:

Have you ever wondered if we could use python just like we are using JavaScript in HTML documents to build websites for browsers? Well, it is no longer a dream!

Anaconda’s CEO Peter Wang presented PyScript, a dazzling new technology that allows users to write Python and other languages in the browser. It was presented at PyCon US 2022.

This could be a complete game-changer. Especially for the people who are involved with Data Science, ML, AI and also want to do web development. Python is very easy to learn and flexible language. Python has many third-party libraries that make literally any code implementation fast and easy. With PyScript we can use python in HTML documents!

Imagine you are writing HTML documents that include scripts that use libraries like matplotlib, pandas, SciPy and all the libraries that are available in python. This is a power that we wanted to achieve as python lovers for so long time.

PyScript, developed by the Anaconda, a team consisting of Peter Wang, Fabio Pliger, and Philipp Rudiger.

Peter said ,

“A system for interleaving Python in HTML (like PHP)”

This opens a new door, where you can write and run Python code in HTML, use PyScript to invoke JavaScript libraries, and use Python for any web development. In fact, it has the potential that PyScript will enable us to put codes that are written in any language inside an HTML document. I repeat again, it will potentially support not only python but also most languages like Go, C++, C and many more….

We no longer need to be concerned about deployment using PyScript. The “architectural shift beyond the cloud” is provided by PyScript. Everything will take place within your browser.

As data scientists, you may distribute your dashboards and models as an HTML file that, when opened in a web browser, will run code. Sounds amazing right?

So, it is a probable game changer in web development that will bring new possibilities. But as it is a new technology, we have to wait for the future to see the effects of PyScript in our development life!

Important links:

  1. The alpha release of PyScript:
  2. Code:
  3. Instructions:






BSc. in Computer Science and Engineering. Instructor and Vice President at UIU App Forum. Content creator at YouTube.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

React Coding Interview Challenge 9

Using Merkle Trees for NFT Whitelists

How to use Firebase Cloud Functions and Yarn Workspaces

State Management with Angular

Investigating Async vs Defer

Multi-Platform app development with react native

React Flux, Redux-Saga, Redux-Thunk, and the Hybrid Architecture (MVC & MVVM)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
I.E.U. Juboraj Naofel

I.E.U. Juboraj Naofel

BSc. in Computer Science and Engineering. Instructor and Vice President at UIU App Forum. Content creator at YouTube.

More from Medium

Compiling video clips using python.

Learn Powerful one-liners in Python

Using Tkinter to make GUI’s in python, THE MUST KNOW WIDGETS OF TK

Twelve Crazy Things You Didn’t Know You Could Do with Python