File «disk_usage.py» it’s the original program, and «disk_usage_fiexd.py» it´s the original program fixed (Other version):

whit «diff» comand,  we compare the two files, and save in «disk_usage.diff» :

diff -u disk_usage.py disk_usage_fixed.py > disk_usage.diff

The «disk_usage.diff» file contend the differences between the files.

When we will apply the changes, usa the «patch» command:

patch disk_usage.py < disk_usage.diff

We can see the program file original has been modified.

Jesus