a web UI to invoke a python script at server side

Jean-Michel Pichavant jeanmichel at sequans.com
Tue Jan 14 08:22:21 EST 2014


----- Original Message ----- 

> Hey guys,

> I'm working on to provide a lightweight web UI for providing an
> interface to invoke a python script(a sequential script which could
> involve some system calls) at the server side. The UI should collect
> some parameters for input into this python script, and conversely
> the output of the script needs to be returned to the web client
> side.

> I haven't done much web programming before, can you provide some
> hints on how this is usually implemented ?

> Thanks
> Frank
> --
> https://mail.python.org/mailman/listinfo/python-list

Hi Frank,

Have a look at http://flask.pocoo.org/
This is a micro web framework.

Build your "hello world" web app, once it's working, look at the flask tutorial, you won't use the database but it'll give you a good overview of how things are organized.

Flask support python 3 but your web server may not. You may need to stick with python 2.

JM


-- IMPORTANT NOTICE: 

The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.


More information about the Python-list mailing list