Reputation: 17
When I run the HTML page then my PYTHON Program must be called after clicking the button.
<html>
<head>
<script type="text/javascript" language = "javascript">
function clicked()
{
// call python program
}
</script>
</head>
<body>
<input type="button" onclick = "clicked()" id="b1">
</body>
</html>
Python Programs:
print("Hii")
Upvotes: 0
Views: 333
Reputation: 21
You may want to send a request to an endpoint implemented by Python.
Upvotes: 1