Question: I accidentally deleted python, python2, python2.7 files from /usr/bin/. 
Now yum is also not working.

Is it possible to recover them?

Answer: 
*Generally* on UNIX-like systems, deleting a file means it cannot be retrieved. (Unless you are using a filesystem that has the ability to take [snapshots](http://en.wikipedia.org/wiki/Snapshot_%28computer_storage%29#File_systems), and you are using them.)

Restore the files from your most recent backup.
Eventually, yum will stop working for centos users.

Then, copy /usr/bin/python and /usr/bin/python2.7 from another virtual machine (same OS), and paste that to /usr/bin (from where you deleted).

Also, give read and execute permission to both files,

```
$ chmod 755 /usr/bin/python*

```