Run Python Scripts

I would like to run a python script in the background after I click a button. Is this possible and if so, how do I get the script to run after button click?

That’s not really a Wappler related question, more of a general web development one.
Google is your good friend here. For example:

https://www.py4u.net/discuss/279575

https://stackoverflow.com/questions/48552343/how-can-i-execute-a-python-script-from-an-html-button/48552490#:~:text=To%20run%2C%20open%20command%20prompt,thank%20you.

etc.

Thanks mate