Take for example a simple php form such as ,
<html>
<body>
<form action="welcome.php" method="post">
Name: <input type="text" name="name"><br>
<input type="submit">
</form>
</body>
</html>
Is it possible to POST whatever value that a user input into a python script namely app.py which has a variable named as "name" eg:-
name = #This Variable needs to be populated with the value the user inputs to the form
print(name + " "+ "is my name")
Apologies about the vague question but I am quite new to programming and would be great if someone can at least point me in the right direction if this is possible. Another doubt here is on clicking the submit button how can I trigger the python script.