title: Using Python to access LibreOffice Calc using Uno
body: <p>I'm trying to write a script to manipulate a Ubuntu Mint _LibreOffice Calc sheet using Python 3.7,. For some reason I'm getting an error when I try to import Uno.  I can run a macro from inside Calc calling this</p>
  
  <pre><code>    desktop = XSCRIPTCONTEXT.getDesktop()
      model = desktop.getCurrentComponent()
      active_sheet = model.CurrentController.ActiveSheet
      write 'Hello World' in A1
      active_sheet.getCellRangeByName("A1").String = "Hello World!
  </code></pre>
  
  <p>"</p>
  
  <p>but can't directly from the VS_code IDE, interact with the sheet. Is there a path that I need to set to Uno_</p>
  
  <p>Using LibreOffice 6.4, Python 3.7 and APSO.  I'm so frustrated with LibreOffice there seems to be very little python support for newbies. </p>