retrieve local html form with python
===

I'm having a very stupid problem: I have a html page that contains a form(locally, not on a remote server) and I would like a user to be able to input some data in the form and I would then retrieve this data with a python script. My problem is: I don't understand how to make the html and python communicate. How can the python retrieve the form after the user clicked on post. I saw that one solution would be to use Django but it seems quite complicated (I'm a novice developer). I also saw that I could probably get the job done using the python cgi module but I'm missing how to make python and the html form communicate with each other..
If you could post a very basic example it would be awesome.
Thank you all a lot for your help