Has, Thank you. Unfortunately, I have a list of UIDs for the todos I want to modify, so I think the best I can do is: for uid in uid_list: todo = [ t for t in app('iCal').calendars.todos.filter( its.uid == uid ).get() if t != k.MissingValue ][0] todo.stamp_date.set( datetime.datetime.today() ) Still, the list is never long so the script runs relatively fast. My largest bottleneck was getting the original list of all todos and their properties, and your previous suggestion made a huge difference in execution speed. Thank You, Marcin On 8-Aug-06, at 11:50 AM, has wrote:
|
_______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig