windwos 10 check python version code example Example: python version command notebook import platform print(platform.python_version())