Name: Anonymous 2008-01-07 20:40
I just ran a small Python script of mine on a new computer and I got an error message that xsltproc isn't found. So I want to modify the script to test whether xsltproc is installed. (I should probably do this with several other scripts too.)
However, I don't know how to do this. How do I learn, from a Python script running on Linux, whether a program is installed?
However, I don't know how to do this. How do I learn, from a Python script running on Linux, whether a program is installed?