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: 📘Check out my 300 page Web Dev Guide: 💻 All Courses 💖 Show Support Patreon: PayPal: 👇 Follow Me On Social Media: Twitter: Instagram: Linkedin: 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
Hide player controls
Hide resume playing