[Tutor] How to list/process files with identical character strings
akleider at sonic.net
Tue Jun 24 20:58:37 CEST 2014
On 2014-06-24 08:34, mark murphy wrote:
> Hello Python Tutor Community,
> The actual processing part should be easy enough for me to figure out.
> part about finding the split files (each pair of files with the same
> 8 characters) and setting those up to be processed is way beyond me.
> done several searches for examples and have not been able to find what
> I am
> looking for.
Since your file system probably already keeps them ordered, each pair
will be next to each other.
It would seem a simple matter to compare each file name to the one after
it and if they match, process the two together.
More information about the Tutor