check python version in ipynb code example Example: get python version jupyter from platform import python_version print(python_version())