Skip to contents

return the full path of 'python' executable if found.

Usage

python_exec()

Value

executable full path in a character vector of length 1.

Examples

if(exec_available("python"))
  message(python_exec())
#> /usr/bin/python3