finding and listing the differences between two files

Chris Richard Adams chrisa at ASPATECH.COM.BR
Wed Mar 7 07:08:40 EST 2001


Right now I am finding the differences using Bsh...like

diff file1 file2 > filediff

if [ $? = 0 ]
	then
		echo same
	else
		echo different
		read filediff...
fi



Anyone know the equivalent in Python or am I better off sticking to
shell.

Thanks,
Chris




More information about the Python-list mailing list