def find_exe(self, exe):

        for p in self.__paths:
            fn = os.path.join(os.path.abspath(p), exe)
            if os.path.isfile(fn):
                return fn

        # didn't find it; try existing path
        for p in string.split(os.environ['Path'],';'):
            fn = os.path.join(os.path.abspath(p),exe)
            if os.path.isfile(fn):
                return fn

        return exe
Clear KV store and delete referenced thumbnails
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/distutils/msvccompiler.py/MSVCCompiler.find_exe--crossover with--dataset/ETHPy150Open mariocesar/sorl-thumbnail/tests/thumbnail_tests/test_commands.py/CommandTests.test_clear_delete_referenced_action