Get relative filepaths of files in a directory, and sub-directories,
with the given extension.
- Parameters
 
- extname
str Extension name (e.g. ‘txt’, ‘rst’). Extension comparison is
case-insensitive.
 
- root_dir
str, optional Root directory. Current working directory by default.
 
 
- Returns
 
- filepaths
list of str File paths, relative to root_dir, with the given extension.