Nicholas Bastin wrote: > On 10/4/07, Jean-Francois Canac <[EMAIL PROTECTED]> wrote: >> [EMAIL PROTECTED] >>> I would draw dots on a suitably sized Tkinter canvas, after drawing a >>> schematic >>> of the race track (laborious). >>> >>> 20 per second will be no problem, provided the machine is half decent. >>> >>> What is the speed at which the com port runs? >>> >>> - Hendrik >>> >> The com port run at 19.2 kb/s. >> My pb is more the real time aspect: to see the plot changing in real time >> than the com aspect as the installation is already running with programs in >> c++. >> The PC on which it is running is good enought >> For me the interest is to migrate all taht on python to be able to make fast >> changes when it is of interest > > The success of this will have more to do with design than programming > language. Any GUI toolkit which allows partial screen updates can be > made to update at least as fast as your screen refresh rate, even in > python. > > -- > Nick
If you are using Tkinter (probably a very good choice), just remember to make periodic (i.e., once per I/O processing loop) calls to: Tkinter.update_idletasks() which will update the display window, etc. Regards, Lawson -- http://mail.python.org/mailman/listinfo/python-list