Running Libreoffice 6.0.4.2 on Windows 7 Pro
I have searched all over for an answer as to how to open an existing Calc file using Python. I have read Christopher Bourez’s blog . He shows how to launch Calc so it opens on the desktop. Using his code I can launch the Python shell and connect to LibreOffice. He does not show how to open a specific Calc file.
I want to export 50 Calc files to csv files . Doing this manually takes a long time.
I am trying to understand how to open a specific Calc file . All my Calc files are in the C:\Document folder.
My question: Once Python is connected to Libreoffice , what commands are needed to open a specific Calc file stored in C:\document folder?