select python version for notebook code example Example: python version command notebook import platform print(platform.python_version())