Learn AI, Data Science & Business — Earn Certificates That Get You Hired
AI Engineer - Learn how to integrate AI into software applications
Overview
Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
Explore the brand new PyScript framework in this 22-minute video tutorial. Learn how to write Python and use Python packages directly in HTML using Web Assembly and Pyodide. Discover the basics of PyScript, including how it works, getting started, writing Python in HTML, mixing with JavaScript, targeting DOM elements, using REPL, and working with the Math module. Dive into more advanced topics such as environment setup, incorporating third-party packages, using separate Python files, handling events, shuffling arrays, and managing multiple files. Gain insights into PyScript's capabilities and limitations, understanding that while it offers exciting possibilities, it is not intended to replace JavaScript in web development.
Syllabus
- Intro
- How it works
- Getting Started
- Disable formatOnSave
- Writing Python in HTML
- Mixing JavaScript
- Targeting DOM elements
- REPL
- Math module
- Env & 3rd party packages
- Using a separate .py file
- Handling events
- Shuffle array
- Using Element
- Using multiple files
- Wrap up
Taught by
Traversy Media