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