From: Michael R. <re...@eu...> - 2005-05-04 05:32:55
|
Hi Dan again, > I'm currently trying to steal some threading code from the plugin_exec > to put into the plugin_python. I have this idea of creating a > really slow version of the python::exec function, because then i could > easily create plugins for upload and download status of eMule and > mldonkey (with a polling period of 5 minutes or so). Why sould it be very slow? I think that python gets initialized only once, further calls to python::exec() should be quite fast? If you define an update interval of 5 minutes to the widget calling python::exec, I see no problem here.... Or is the problem that the python script itself may take some time? Then it would be a good idea to call it in a seperate thread... bye, Michael -- Michael Reinelt <re...@eu...> http://home.pages.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |