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:

Handling React Loading States With React Loading Skeleton

Handling React loading states with React Loading Skeleton

Implement a loading state, or loading skeleton, in React with and without external dependencies like the React Loading Skeleton package.

Ibadehin Mojeed
Jan 7, 2025 â‹… 7 min read
Getting Ready For Tailwind V4.0

Getting ready for Tailwind v4.0

The beta version of Tailwind CSS v4.0 was released a few months ago. Explore the new developments and how Tailwind makes the build process faster and simpler.

Oscar Jite-Orimiono
Jan 6, 2025 â‹… 12 min read

Mastering charts and database visualization with ChartDB

ChartDB is a powerful tool designed to simplify and enhance the process of visualizing complex databases. Explore how to get started with ChartDB to enhance your data storytelling.

David Omotayo
Jan 3, 2025 â‹… 7 min read
JavaScript icon over teal background.

JavaScript scroll snap events for scroll-triggered animations

Learn how to use JavaScript scroll snap events for dynamic scroll-triggered animations, enhancing user experience seamlessly.

Abiola Farounbi
Jan 2, 2025 â‹… 7 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