extension_file function

Method that return the extension of a file

Method that return the extension of a file

extension_file(path)

Arguments

  • path: dataset directory

Returns

return the extension of file