I need to compare the two files in Python and then count the number of lines that are changed.
Problem Statement: I have to give a report on monthly basis, that in a project, how many files are present and how many lines each file has and during the time frame of one month, how many lines are changed. So I want to automate this process. So, firstly I started with writing a Python Script which will generate a Excel file containing the number of lines in each file in all the sub-directories of the project directory. This part is done.
Now provided that, I have the Source Code copy from 31st Oct and 30th Nov in two separate directories and, I want to check how many lines are changed during this time interval. Can you guys help me with this, I really don't understand how to proceed further.