SysFileTree() in REXX offers an easy way to work with all files (or subset) in a directory tree. For a summary of the function, see http://publib.boulder.ibm.com/infocenter/iadthelp/v6r0/index.jsp?topic=/com.ibm.etools.iseries.orxw.doc/orxw_ref614.htm.
Which Python module offers similar function?