I accidentaly did sudo apt-get remove python [closed]
Just switch to the tty, you will have a login prompt, write your username/password, you will get a shell. So, now you only need to install python back, along with all the others packages, the simple way to do so is:
sudo apt-get install ubuntu-desktop
If you like, you can also install other metapackages instead:
apt-cache search metapackage | grep desktop