2022-08-01
6298
#js libraries#python
Stanley Ulili
126105
Aug 1, 2022 ⋅ 22 min read

Intro to PyScript: Run Python in the browser

Stanley Ulili I'm a freelance web developer and researcher from Malawi. I love learning new things, and writing helps me understand and solidify concepts. I hope by sharing my experience, others can learn something from them.

Recent posts:

Stop Writing REST APIs From Scratch in 2025

Writing REST APIs by hand is a thing of the past. Frameworks like tRPC, Fastify, and Hono eliminate boilerplate with schema-driven design, improving speed and safety.

Ikeh Akinyemi
Oct 14, 2025 ⋅ 3 min read
good dx is not enough component libraries featured image

Good DX isn’t enough: Why your component library still fails your team

Great developer experience feels amazing, until your design system starts breaking down. Here’s why good DX isn’t enough and what makes teams scale successfully.

Peter Aideloje
Oct 14, 2025 ⋅ 9 min read
react 19.2 what is new and what to expect

React 19.2 is here: Activity API, useEffectEvent and more

Discover what’s new in React 19.2, which features long-awaited features like the Activity API and the useEffectEvent Hook.

David Omotayo
Oct 13, 2025 ⋅ 7 min read
ai dev tool power rankings

AI dev tool power rankings & comparison [Oct 2025]

Compare the top AI development tools and models of October September 2025. View updated rankings, feature breakdowns, and find the best fit for you.

Chizaram Ken
Oct 13, 2025 ⋅ 9 min read
View all posts

One Reply to "Intro to PyScript: Run Python in the browser"

  1. My script executes on page load. How can I avoid that:

    #—HTML code—-
    My Status :

    Submit

    #——on the same HTML page, py script code below ———

    import asyncio
    import json
    from request import request # import our request function.
    from pyodide.http import pyfetch, FetchResponse

    async def submit(*ags, **kws):
    #{ …..some code….}

Leave a Reply