[Pythonmac-SIG] [Newbee] Schedule

Francois Granger fgranger@altern.org
Mon, 17 Jul 2000 10:46:57 +0200


on 17/07/00 10:07, Jack Jansen at jack@oratrix.nl wrote:

>=20
>> I've had the exact same problems (and I wrote the code:-). There seems
>> to be values for the interval and bgyield that give both sufficient
>> performance for Python and responsiveness for other applications.
>=20
> Oops, what I intended to say was "There seem to be NO values for the inte=
rval
> etc etc".

Thanks for your answer. I need to get some acceptable values. the processin=
g
of the script being really low. Basically, the script reads mail messages,
do some modifications and write them back in another folder. It then move
the original file to a third folder. So even if processing is slow, that is
not an issue.

I think that the most intensive task is opening writing and closing files. =
I
do it with the standard portable commands. May be using some Mac only
commands would be better ?

In AppleScript, there is a command "Yield", wich pass back control to the
OS. I was hopping that some command like "pass" maybe would do the same in
Python ...

I'll do some testing and let you know what I find.

--=20
Fran=E7ois Granger
fgranger@altern.org