Rather than having to use a wrapper to get the right environment, I find that I can also do the following:
import sys sys.path.append("/usr/lib/openoffice.orgX.x/program") import uno