Best (simplest) way to share data
Chris Green
cl at isbd.net
Tue Jul 9 06:02:39 EDT 2024
Stefan Ram <ram at zedat.fu-berlin.de> wrote:
> Chris Green <cl at isbd.net> wrote or quoted:
> >That's exactly the sort of solution I was wondering about. Is there a
> >ready made module/library for handling this sort of thing? Basically
> >it will just be a string of a few tens of characters that would be
> >kept up to date by one process and asked for by all the others.
>
> I'm not an expert here, and just quickly tried to make it
> run, so the code will still contain errors and not contain
> something necessary, but might give you a starting point.
>
> A process doing something (here: printing an incrementing value
> named "info") and also serving requests from other processes
> for this "info" value:
>
[snip]
Thanks, that should get me started! :-)
--
Chris Green
·
More information about the Python-list
mailing list