py_version: Python version

View source: R/config.R

py_versionR Documentation

Python version

Description

Get the version of Python currently being used by reticulate.

Usage

py_version(patch = FALSE)

Arguments

patch

boolean, whether to include the patch level in the returned version.

Value

The version of Python currently used, or NULL if Python has not yet been initialized by reticulate.


rstudio/reticulate documentation built on April 5, 2025, 2:44 p.m.