Find binary in PATH using python

from blog lmno.lol @alvaro, | ↗ original
import distutils.spawn print distutils.spawn.find_executable('git') /usr/bin/git