How can i make a button in my web that when it is being clicked. it can send a data in my python script
You need to create an http server in your Python, and call it with fetch in JavaScript. You can pass data in the query parameters.
I have a project and i was wondering how can i make a button in my web that when it is being clicked it can display a string in my python terminal
Thank you in advance