Parses a python version which follows the PEP440 versioning scheme, obtained by calling the command python --version. This is done in an almost strict manner in order to avoid picking up undesired strings.
python --version