The easiest is just to touch some specific page on the server -- works
cross-language as well.  Like, oh:   
  urllib.urlopen('http://localhost/BatchFinished&batchID=%i' % id)

You could use XMLRPC as well, which is fairly simple and useful if you
are sending more complicated information.  But if the messages are very
simple this should do.  Communicating more directly than that is (much)
more trouble than it's worth.  Chuck wrote a Pickle analog to XMLRPC,
which you might use when both sides are Python and if XMLRPC is annoying
you.

On Tue, 2002-02-12 at 12:34, Costas Malamas wrote:
> Hi all,
> 
> I am using WK as a front-end to an application that does most of its 
> heavy-lifting in batch.  So, I am thinking that I can optimize a lot of WK's 
> work (e.g. cache DB queries) if I could somehow make WK aware of the status 
> of the batch process.  Now, it just so happens my batch is also (non-WK) 
> Python.  So, I am wondering is there a way to send a "message" to WK from 
> another process on the same machine?  Sort of XMLRPC or some such?
> 
> Thanks,
> 
> Costas
> 
> 
> 
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
> 
> 
> _______________________________________________
> Webware-discuss mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/webware-discuss
> 



_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to