Using Python on Linux
From Apache OpenOffice Wiki
Python is included on all major Linux however this is what we called as a system python might not relate with our OpenOffice.org python. The OOoPython is the one we need to know to install and learn where it is. The location will vary depending if you installed OOo from the OpenOffice.org Site or if it's comming from the distribution repository.
We hope this document might help you identify your OpenOffice.org python within your setup.