write_event_schedule(event_schedule, path, encoding='utf-8', prettyprint=True)[source]

Write an event schedule object to an XML file.

event_schedule : EventSchedule

The event schedule to write

path : str

The path of the output XML file

encoding : str, optional

The desired encoding of the output file

prettyprint : bool, optional

Specify whether the XML file should be written with indentation for improved human readability