since we've already studied the tree-walking tools this script employslet' jump right into few example runs when run on identical treesstatus messages scroll during the traversaland no diffs found message appears at the endc:\pp \system\filetoolsdiffall py :\temp\pp \examples copytemp diffs txt :\pp \system\filetoolstype diffs txt more comparing :\temp\pp \examples to copytemp directory lists are identical comparing contents readme-root txt matches comparing :\temp\pp \examples\pp to copytemp\pp directory lists are identical comparing contents echoenvironment pyw matches launchbrowser pyw matches launcher py matches launcher pyc matches over , more lines omitted comparing :\temp\pp \examples\pp \tempparts to copytemp\pp \tempparts directory lists are identical comparing contents jpg matches lawnlake -jan- jpg matches part- txt matches part- html matches =======================================no diffs found usually run this with the verbose flag passed in as trueand redirect output to file (for big treesit produces too much output to scroll through comfortably)use false to watch fewer status messages fly by to show how differences are reportedwe need to generate fewfor simplicityi'll manually change few files scattered about one of the treesbut you could also run global search-and-replace script like the one we'll write later in this while we're at itlet' remove few common files so that directory uniqueness differences show up on the scopetoothe last two removal commands in the following will generate one difference in the same directory in different treesc:\pp \system\filetoolsnotepad copytemp\pp \readme-pp txt :\pp \system\filetoolsnotepad copytemp\pp \system\filetools\commands py :\pp \system\filetoolsnotepad :\temp\pp \examples\pp \__init__ py :\pp \system\filetoolsdel copytemp\pp \system\filetools\cpall_visitor py :\pp \system\filetoolsdel copytemp\pp \launcher py :\pp \system\filetoolsdel :\temp\pp \examples\pp \pygadgets py nowrerun the comparison walker to pick out differences and redirect its output report to file for easy inspection the following lists just the parts of the output report that complete system programs