python interactive web data/forms/interface communicating with remote server

Posted by decipher on Stack Overflow See other posts from Stack Overflow or by decipher
Published on 2010-04-15T17:42:31Z Indexed on 2010/04/16 2:53 UTC
Read the original article Hit count: 268

What's an efficient method (preferably simple as well) for communicating with a remote server and allowing the user to 'interact' with it (IE submit commands, user interface) via the web browser (IE a text box to input commands, and an text area for output, or various command-less abstracted interfaces)?

I have the 'standalone' python code finished for communicating and working(terminal/console based right now). My primary concern is with re-factoring the code to suite the web, which involves establishing a connection (python sockets), and maintaining the connection while the user is logged on.

some further details:

  • currently using django framework for the basic back end/templates.

© Stack Overflow or respective owner

Related posts about python

Related posts about django