how to list all python version installed in windows code example Example: python version command import sys print(sys.version)