Python scripts in HTML
You are mixing up client-side and server-side execution of code.
Browsers support only Javascript.
Any application-server or Python-based webframework support template language where you can mix HTML and Python in some way or the other.
Is it possible to write Python scripts in HTML code similarly as you write PHP between <?php ... ?> tags?
I'd like to achieve that my Python application will run in the browser.
thank you for help