
DAILYPYTHON.BLOGSPOT.COM
Daily Pythonসোমবার, ২৮ ফেব্রুয়ারী, ২০১১. Comparinr two text file in python. Python has a very rich IO features.Couple of days ago I was just trying to read a simple text file. Found interesting method like read() and readline(). When I coded iterative loop for different files,python warns and says "iteration can loose data". So,I just worked through the list,reading two files and keeping the lines as lits and then by comaring those list creating a new list. And at last write in to a new file. My code was as follows:.
http://dailypython.blogspot.com/