Skip to content

Tag: pyscript

youtube downloader by pyscript

I’m trying to make a youtube downloader by pyscript but I got this error Answer Web browsers do not allow applications to open TCP sockets. Your application depends on urllib which requires TCP sockets. The package urllib is not supported by any web browser due to the browser’s security sandbox. Y…

How do I use pyscript in my HTML code and return output

I am trying to call my python function created. But not getting any output and no resource how to achieve. Code : It would be great helpful if some one provide input like … How to pass selected file to my function and python will be executed & return output on screen. Answer When writing Python in the bro…

Security & Pyscript

I am coding a Python editor, which can execute python codes and returns the output. My initial idea was to code a backend service for it, that will run the Python script and return the output. However with the release of Pyscript, I am wondering if I can do it in the frontend. One of my biggest concerns is th…