py_discover_config function

Discover the version of Python to use with reticulate.