Basic GUI

Michele Simionato michele.simionato at gmail.com
Wed Sep 12 06:50:21 CEST 2007


On Sep 11, 11:54 pm, Don Hanlen <dhan... at owt.com> wrote:
> I could solve my problems with the following psuedo-code made into
> real code:
> ----
>     import blah
>
>     t = blah.fork(runthisprogram.py)
>
>     #OK still in main
>     t.sendinfo(info)
>     info = t.receiveinfo()
> ----
>     #runthisprogram.py
>     def sendinfobacktopapa():
>         ? eventhere
>     def getinfofrompapa():
>         ? eventhere
> ----
>
> It seems to me that propagating events *may* be the best way to
> communicate.  I'm wide open, including to non-multi-process solutions.
>
> Thanks for your comments, I searched old posts for a while, various
> other Python info-sources, and couldn't find an answer.
> --
> don

Have a look at the 'processing' module.

    Michele Simionato




More information about the Python-list mailing list