For example I want to check does py-sqlite3 available..? One of the methods would to call that command with some minimum python script and catch error?
I want to make check for any linux distro and unix system (at least bsd)
What could be the best way to achieve this?
P.s. Please provide example of shell scripting error catching, because I'm not so advanced in shell scripting