[Solved] Open Calc with an external Python program

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
cleanman2
Posts: 36
Joined: Tue Jan 25, 2011 6:21 pm

[Solved] Open Calc with an external Python program

Post by cleanman2 »

I would like to control calc from an external python program. All the examples I have found assume you have already started calc in listening mode. I would like to open calc in listening mode from my python program and then connect to it. Is that possible?

If so I would appreciate it if someone could point me at an example or maybe show me some code to do it.

Thanks, Jim
Last edited by Hagar Delest on Sat Feb 11, 2017 12:44 pm, edited 1 time in total.
Reason: tagged [Solved].
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Open calc with an external Python program

Post by Villeroy »

Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
cleanman2
Posts: 36
Joined: Tue Jan 25, 2011 6:21 pm

Re: Open calc with an external Python program

Post by cleanman2 »

Thank you. That should get me going.

Regards, Jim
Post Reply