Python http server (csv to html/js) -
i trying create script acts local web-service. making inventory management own materials , python script host small server or can type in ip address, or possibly command, in web-browser , load data.
my inventory stored in csv file which, when connected to, script parse csv html file , run server along javascript make more responsive.
how interface python module of that? i've never done direct server programming. i've done node.js, , client-side web programming in regards internet.
for dealing wit raspberry pi , servers suggest flask, python lightweight web framework. development in fast. reading can find here (in blog , exhaustive tutorial flask): http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-xvii-deployment-on-linux-even-on-the-raspberry-pi
in fact can run lighthweight single file solution pyramid. at: http://docs.pylonsproject.org/projects/pyramid_tutorials/en/latest/single_file_tasks/single_file_tasks.html
Comments
Post a Comment