wasm-demo/demo/ermis-f/python_m/cur/0562

35 lines
747 B
Plaintext

From: dobbe at xs3.xs4all.nl (Camiel Dobbelaar)
Date: 9 Apr 1999 12:01:35 GMT
Subject: Publishing 'live' Python objects
Message-ID: <7ekq6v$of7$1@news2.xs4all.nl>
X-UID: 562
Hi Pythoneers,
I'm looking for advice on the following:
Suppose I have a Python program that essentially does the following:
while 1:
read from stdin
<fancy calculations>
update some buffer objects
I now wish to take a look at snapshots of those buffer objects in
'real-time'. (the program continues running and updating the buffers)
I'd like to do this with HTTP.
Is this possible? I gave Zpublisher a try, but I don't think it can do
what I want. Should I look into using threads?
Thanks,
Camiel