A python program needs to find the installation location of openoffice.org, which is installed on a Windows XP computer. What is the best way to do this?
A python program needs to find the installation location of openoffice.org, which is installed
Share
You can use the
_winregmodule on windows: First find out the path in the registry (eg startingregedit.exeand using its find function). Then you can query this path as I did it once to find the home directory of R:ADDED:
If you are not familiar with the windows regstry: have a look at http://en.wikipedia.org/wiki/Windows_Registry