-
simon
Good Morning Both,
Many thanks for your quick help!!!
I have closed / killed the APP an restarted Pythonista. Now the proposed solution works.
The issue is eventually, as I tried to delete the calendar with a name string instead of a calendar object in the beginning and the wrong solution was cached...
-
simon
Hi, python 3.5 is indicated on the top. With both codes, I get the same error message (see below).
=========================
<Calendar "Delete Me!!!">
0 <Calendar "Delete Me!!!">
1 <Calendar "Delete Me!!!">
2 <Calendar "Delete Me!!!">
3 <Calendar "Delete Me!!!">
Enter number of reminder to delete ("q" to quit): 1
Traceback (most recent call last):
File „(…)“, line 15, in <module>
reminders.delete_calendar(calendars[i])
TypeError: 'str' object is not callableThanks again!
-
simon
Hello,
many thanks for your incredible fast reply! I copy-pasted and executed the code and received the following error message:
(...)
line 15, in <module>
reminders.delete_calendar(calendars[i])
TypeError: 'str' object is not callable
(...)maybe it's a device setting then... kind regards,
Simon
-
simon
I am desperately trying to delete a calendar (task list) by name, using the reminder class and delete_calendar. Also checked the documentation and web with no result. Would you mind providing me a simple code example? Thanks!