automatically get python version