Python and OpenOffice – Start OpenOffice.

Simple python script to start the OpenOffice software.
This script starts OpenOffice software.
The script uses the following modules:

Now we define the arguments for each software OpenOffice:

The next step, we define a function that will start OpenOffice software.
See below:

We use a variable to set the mode.

In this case, it is set to “False” and print some options:

Read from the keyboard software OpenOffice name to be started.

Then check if it is not already running.

Awaiting 5 seconds. During this time the software starts.

This is all you need.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.