devctrl.utility.file_io.get_next_filename_with_number#

get_next_filename_with_number(basename, directory='.', digits=3)[source]#

get the next filename (without extenstion). example:

basename = file directory has file001.csv, file002.bla.pkl, file004.csv -> return file005