filenumutils (pypi): Python tools to find last file/folder number in a int indexed file/folder with specified extension, prefix and/or suffix. Also allows to create next folder, e.g if dir contains train_00 and train_01, it creates train_02
Keywords: file-numbers|file-pattern|folder-management|folder-pattern|last-file-number