title: How do I use python to create outlook events in multiple calendars
body: <p>This is the code I've been using. It works when I want to create an appointment, but only in my main calendar. Do any of you know how to create the appointments in a secondary calendar?</p>
  <pre><code>import win32com.client
  from win32com.client import Dispatch
  outlook = win32com.client.Dispatch(&quot;Outlook.Application&quot;)
  
  
  def sendMeeting():
    appt = outlook.CreateItem(1) # AppointmentItem
    appt.Start = &quot;2021-5-28 16:10&quot; # yyyy-MM-dd hh:mm
    appt.Subject = &quot;Fake meeting&quot;
    appt.Duration = 30 # In minutes (60 Minutes)
    appt.Location = &quot;The bat cave&quot;
  
    appt.Save()
    appt.Send()
  
  </code></pre>