Datafiles Functions

Standalone/external module for python interpreters. Allows access to config and statistics files. Use of rr_python_utils.load_rrdata is reccomended for importing as rrData.

libpyRR39_datafiles.getModuleVersionMinor() int

Return version number of this module. ‘Major.Minor.Release’ Example:

>>> from rr_python_utils.load_rrlib import rrLib
>>> rrLib.getModuleVersionMinor()
'1'
libpyRR39_datafiles.getModuleVersionRelease() str

Return version number of this module. ‘Major.Minor.Release’ Example:

>>> from rr_python_utils.load_rrlib import rrLib
>>> rrLib.getModuleVersionMinor()
'24'

Version Info

libpyRR39_datafiles.getModuleVersion() str

Return version number of this module. ‘Major.Minor.Release’ Example:

>>> from rr_python_utils.load_rrlib import rrLib
>>> rrLib.getRRModuleVersion()
' 9.1.24'
libpyRR39_datafiles.getModuleVersionMajor() int

Return version number of this module. ‘Major.Minor.Release’ Example:

>>> from rr_python_utils.load_rrlib import rrLib
>>> rrLib.getModuleVersionMajor()
'9'
libpyRR39_datafiles.getRRModuleVersion() str

deprecated

RR Folders

libpyRR39_datafiles.getRRFolder_bin() str

Returns the path [RR]/bin/[OS]. System Variable RR_ROOT must be defined, otherwise it returns an empty string.

libpyRR39_datafiles.getRRFolder_cfgGlobal() str

Returns the path [RR]/sub/cfg_global. System Variable RR_ROOT must be defined, otherwise it returns an empty string.

libpyRR39_datafiles.getRRFolder_cfgStats() str

Returns the path[RR]/sub/stats. System Variable RR_ROOT must be defined, otherwise it returns an empty string.

libpyRR39_datafiles.getRRFolder_cfgUser() str

Returns the path [RR]/sub/cfg_user. System Variable RR_ROOT must be defined, otherwise it returns an empty string.

libpyRR39_datafiles.getRRFolder_historydb() str

Returns the path[RR]/sub/history_db. System Variable RR_ROOT must be defined, otherwise it returns an empty string.

libpyRR39_datafiles.getRRFolder_root() str

Returns the path [RR]. System Variable RR_ROOT must be defined, otherwise it returns an empty string.

libpyRR39_datafiles.getRRFolder_stats() str

Returns the path[RR]/sub/stats. System Variable RR_ROOT must be defined, otherwise it returns an empty string.