I want to make a very simplistic graphical interface that will allow the user to enter a few bits of information into a form and then I will crunch the data and spit out a google map to the web page the user is interfacing with. 

However, this will just run on a local machine instead of being a webpage that is served to the user. I would like to do the "data crunching" in python so I would like the javascript to be able to pass the form data to a python function and then do some stuff and then output back to the webpage. 

Is there a good way to do this? Any suggestions? I just want to have a web form as the frontend because this seems the easiest, but I am open to suggestions.