python
Python-related functions, such as: checking Python version.
check_minimal_version(major, minor, reason='', exit_on_fail=False)
Check if minimal Python version is present. If not, print warning (default) or exit program entirely. The passed major.minor version is not validated and it can have any value, e.g. even non-existing Python versions like 4.24.
Source code in ipsl_common/python.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | |