Compare files and directories easily with the filecmp module.
filecmp
Read more at pymotw.com: filecmp