I've an HTML Page which send value to a Python script. I want to receive the values of the data send and also ensure that the script is running everytime so as the data can received mutiple times. how would I do that?
My Jquery is
$(function(){
            $("#submit").click(function(){
                $.ajax({
                    dataType: "json",
                    type : "POST",
                    url: "/tcp_driver.py",
                    data : { 'count_query' : 'count_query', 'start_time' : start_time, 'end_time' : end_time, 'last_time' : last_time},
                    success : function(result){
                    }
                });
            });
        });
I want to connect my HTML page with a python code. How would I do that? How would I keep my python code listening? kindly guide me or point towards a resource where I can read on it. Thanks
 
    