find out which python used in notebook code example Example: get python version jupyter from platform import python_version print(python_version())