sort to get the most recent compressed file
rely on the fact that compressed filenames always increase. os.listdir returns filenames in arbitrary order, so they must be sorted (in reverse order) to get the most recent
Showing
Please
register
or
sign in
to comment