DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


GetPythonInfo

Declaration: GetPythonInfo (var InstallDir, Version: string; var Is64Bit: boolean): boolean;
The function GetPythonInfo returns the most important details about the current Python installation. The variable parameter InstallDir returns the directory where Python is installed, the variable parameter Version returns the version number. The parameter Is64Bit returns TRUE if the installed Python version is a 64 bit version.

The function returns FALSE if no Python is available in the system. Please note that the returned parameters refer to the Python installation which is used by DataLab (if there are several versions of Python installed on the computer DataLab usually uses the latest release).