Python In The Browser! PyScript First Look

In this video, we will look at the brand new PyScript framework, which uses Web Assembly and Pyodide to write Python and use Python Packages right in our HTML. And no, it will NOT replace JavaScript. 🐍 PyScript Website & Examples: https://pyscript.net https://github.com/pyscript/pyscript/... 📘Check out my 300 page Web Dev Guide: https://traversy.gumroad.com/l/web-de... 💻 All Courses https://traversymedia.com 💖 Show Support Patreon:   / traversymedia   PayPal: https://paypal.me/traversymedia 👇 Follow Me On Social Media: Twitter:   / traversymedia   Instagram:   / traversymedia   Linkedin:   / bradtraversy   Timestamps: 0:00 - Intro 1:45 - How it works 4:18 - Getting Started 5:17 - Disable formatOnSave 6:06 - Writing Python in HTML 6:37 - Mixing JavaScript 7:02 - Targeting DOM elements 8:15 - REPL 8:54 - Math module 9:18 - Env & 3rd party packages 11:10 - Using a separate .py file 13:16 - Handling events 14:45 - Shuffle array 16:04 - Using Element() 18:00 - Using multiple files 20:22 - Wrap up