ppu.find_executable module

ppu.find_executable.find_executable(executable, path=None)

Find if ‘executable’ can be run. Looks for it in ‘path’ (string that lists directories separated by ‘os.pathsep’; defaults to os.environ[‘PATH’]). Checks for all executable extensions. Returns full path or None if no command is found.