I am trying to create a script that acts as a local web-service. I am making an inventory management for my own materials and I would like a python script to host a small server or something where I can type in the IP address, or possibly a command, in my web-browser and it will load the data.
My inventory is stored in a CSV file which, when connected to, the script would parse the csv to an html file and then run a server along with some javascript to make it more responsive.
How would I interface this python module to do all of that? I've never done any direct server programming. I've only done node.js, and then client-side web programming in regards to the internet.
bottle.py
file into the same directory as your script. Though for your simple case, you could use stdlib'sBaseHTTPServer
to create your server.