-
Hey there, I would be glad if you could help me. If this request is in the wrong place here, please let me know. from ics import Calendar, Event
c = Calendar()
e = Event()
e.name = "My cool event"
e.begin = '2014-01-01 00:00:00'
e.description = 'Ich begrüße euch zu Beispiel, ähnlich dem, welches ich selbst verwende. Hier noch ein Wort mit ö: Döner.'
c.events.add(e)
c.events
with open('my.ics', 'w') as my_file:
my_file.writelines(c) I did not use my original file, but reduced it to the core. Now it is basically your example with a german description with as much special characters as i could fit in these to sentences. My Python Version is 3.8.2 //edit: Code Example for future reader of this thread |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hey! Could you provide a minimal working example for what you are trying to do, which also reproduces the error? Viele Grüße |
Beta Was this translation helpful? Give feedback.
-
/edit: Found me old answer. but i can not mark @C4ptainCrunch s reply as answer. So here it is marked for future readers: So it worked with these two code-snippets:
|
Beta Was this translation helpful? Give feedback.
/edit: Found me old answer. but i can not mark @C4ptainCrunch s reply as answer. So here it is marked for future readers:
So it worked with these two code-snippets: