In Ubuntu, we can install LAMP stack in one command easily and start working on PHP.
sudo apt-get install tasksel -y
sudo tasksel install lamp-server
I wonder if there is similar bundle for Python stack? My google search shows little helpful result e.g. this quora one.