Python Script In Website

Is it possible to use a python script in the website, if yes. How?

Yes and no,

Python can be used as a backend language on your own web server, and you can design sites in BSS. Though Python is not natively supported in browsers or BSS.

However, there is a JavaScript framework called PyScript that lets you write Python code that compiles to JavaScript that will run natively in the browser. Check it out here: https://pyscript.net/

Also bare in mind you will need to use the Custom Code element to write PyScript. Hope this helps :slight_smile:

1 Like