#NEWLINE# def check_paths( exes , paths ) : #NEWLINE# #INDENT# for path in paths : #NEWLINE# #INDENT# for exe in exes : #NEWLINE# #INDENT# path = os . path . expanduser ( os . path . join ( path , path ) ) #NEWLINE# if os . path . isfile ( path ) : #NEWLINE# #INDENT# return path