Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

a web UI to invoke a python script at server side

15 views
Skip to first unread message

Frank Cui

unread,
Jan 14, 2014, 7:20:36 AM1/14/14
to pytho...@python.org
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

Jean-Michel Pichavant

unread,
Jan 14, 2014, 8:22:21 AM1/14/14
to Frank Cui, pytho...@python.org

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

> Hey guys,

> 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.

0 new messages