python - retrieve local html form -


I have a html page that has a form and I want a user to be able to input some data into the form . I will then retrieve this data with a dragon script.

I do not understand how to communicate HTML and Python. How can the python get the form after the user clicks on the post? Can I use a basic example to demonstrate it?

What you need is an HTTP server that can be used to create a server using Python, or You can get one such as Apache or LightPD. I wrote an example application (rock, paper, scissors) a while ago:

Comments