[Tutor] How to print the installed web browser
steve at alchemy.com
Wed Sep 1 23:36:59 CEST 2010
On 01-Sep-10 13:10, Mark Weil wrote:
> Not perfect, but you could check for each browser's binary.
> import os
You'd probably be better off at least looking at the user's PATH
variable, which would likely catch platform variations in where the
browser would be located, and catch local installations by that user.
Of course, you're still playing a guessing game of what to even look for
or what the browser binary is called. Maybe it's
/usr/local/bin/firefox3, for example.
More information about the Tutor