Open Python Session Function
- Updated2025-07-30
- 2 minute(s) read
Opens a Python session with a specific version of Python. The Python session is necessary for configuring multiple Python Nodes to run in a specific version of Python and in the same process.

Inputs/Outputs
Python version
—
Python version specifies the version of Python in which the Python session runs. This function supports the following Python versions:
Although unsupported versions might work with the LabVIEW Python functions, NI recommends using supported versions of Python only.
Python path
—
python path specifies the directory where Python is installed. The default is the directory of the version of Python determined by python version.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
session out
—
session out returns a reference to the Python session.
error out
—
error out contains error information. This output provides standard error out functionality. |
Python version
—
Python path
—
error in (no error)
—
session out
—
error out
—