[Pythonmac-SIG] appscript with todos in iCal seams very slow
Henning Hraban Ramm
hraban at fiee.net
Sun Aug 6 18:13:09 CEST 2006
Am 2006-08-06 um 16:57 schrieb Marcin Komorowski:
> I am trying to generate a python internal structure (a dictionary
> of dictionaries) with a copy of all todo data from iCal. I got it
> to work using the following code:
>
> The problem is that this appears to execute painstakingly slowly.
> With 60 todo items in my iCal, the script takes just over 10
> seconds to run. My machine i a 2GHz Intel Core Duo iMac.
>
> Any idea how this could be sped up?
Just work with the calendar files directly, there are even Python
libraries for that, e.g. itools:
http://www.ikaaro.org/itools
(Never worked with that, don't ask me.)
Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net
http://www.cacert.org (I'm an assurer)
More information about the Pythonmac-SIG
mailing list