parameters: (path)
return_statement: return st.st_mode & 0111 != 0
docstring: Test for executable file.
docstring_summary: Test for executable file.
docstring_tokens: Test for executable file .
function: def executable(path):
      """Test for executable file."""
      try:
          st = os.stat(path)
      except os.error:
          return False
      return st.st_mode & 0111 != 0
function_tokens: def executable ( path ) : try : st = os . stat ( path ) except os . error : return False return st . st_mode & 0111 != 0