Here's an overview of what I'm trying to do:
I'm reading data from a GSM modem and I am storing this in a database.
I'm doing this using a Python script and a MySQL database.
So here Python is just a back end, I want to create a front end using an HTML file. This would go up on a server later. (There is a particular 'look' I want to create for the HTML file.)
So do I first create the HTML file and then link it with Python? Do note that the Python script populates the database with live data.
Or do I create this HTML file in Python itself? Will I be able to achieve the feel I want for the webpage.
Also I shall have some options in the HTML page. When one of these options are selected, the Python script needs to be able to react to it and send out a message on the GSM modem. So can I get HTML to start running a Python script?
What do I do to achieve the above?