Do I need to reinstall OS X after accidentally removing Python?
This question probably has all the answers for you. In short there is no easy way. Your options are: 


Recover the files from a (Time machin) Backup, if existent.
Reinstall OSX, e.g. from the Recovery mode pressing  Command+R at the startup screen
Copy the missing files from the Recovery partition (check if the partition is up to date first). E.g. by doing cp -a /bin /Volumes/&lt;your disk name&gt;