Sure, it is quite easy to install python from source. Usually I am doing it because I need older version for work projects. Of course, the other thing that one needs in that kind of situations is virtual environments. This makes it also quite easy to ensure that you always run the correct python. Create a venv with a specific version of python and once you are in that venv, the 'python' command will automatically run that python version. That way it is easy to use an unlimited number of python version next to each other.
Comments
Sure, it is quite easy to install python from source. Usually I am doing it because I need older version for work projects. Of course, the other thing that one needs in that kind of situations is virtual environments. This makes it also quite easy to ensure that you always run the correct python. Create a venv with a specific version of python and once you are in that venv, the 'python' command will automatically run that python version. That way it is easy to use an unlimited number of python version next to each other.