pyuthon version from command line code example Example 1: python version python ––version Example 2: how to check python version python --version