title: Create appointment in shared calendar using python
body: <p>I prefer not to show my inexperience by posting on here, but this is driving me insane. </p>
  
  <p>I want to add an appointment to a shared calendar. I'm close but can't figure out how to tell it save the item to the shared calendar and not my own default calendar.  </p>
  
  <pre><code>import win32com.client
  
  outlook = win32com.client.Dispatch("Outlook.Application")
  namespace = outlook.GetNamespace("MAPI")
  
  recipient = namespace.createRecipient("owners@email.com")
  resolved = recipient.Resolve()
  sharedCalendar = namespace.GetSharedDefaultFolder(recipient, 9).Folders("Bookings")
  
  appointment = outlook.CreateItem(1) # 1=outlook appointment item
  appointment.Start = '2017-07-17 08:00'
  appointment.Subject = "Test booking"
  appointment.Duration = 60
  appointment.Save()
  </code></pre>
  
  <p>I have a workaround of replacing appointment.save() with :</p>
  
  <pre><code>appointment.Move(sharedCalendar)
  </code></pre>
  
  <p>and while this does the job, its not the correct way and doesn't help me with working out the next script which needs to read the appointments from the shared calendar.  </p>