imageattributes.py
def exif_attribute_as_index(attribute_name):
        """
        PIL.ExifTags.TAGS is a dictionary of indices with corresponding names.
        This is a convenience function that returns the EXIF index for
        the corresponding name to lessen the confusion

        :param attribute_name:
        :return:
        """
        index = next(k for k, v in PIL.ExifTags.TAGS.items()
                     if v.lower() == attribute_name.lower())
        return index

        PIL.ExifTags.TAGS is a dictionary of indices with corresponding names.
        This is a convenience function that returns the EXIF index for
        the corresponding name to lessen the confusion

        :param attribute_name:
        :return:
        
PIL.ExifTags.TAGS is a dictionary of indices with corresponding names.
This is a convenience function that returns the EXIF index for
the corresponding name to lessen the confusion
PIL . ExifTags . TAGS is a dictionary of indices with corresponding names . This is a convenience function that returns the EXIF index for the corresponding name to lessen the confusion
def exif_attribute_as_index(attribute_name):
        index = next(k for k, v in PIL.ExifTags.TAGS.items()
                     if v.lower() == attribute_name.lower())
        return index
def exif_attribute_as_index ( attribute_name ) : index = next ( k for k , v in PIL . ExifTags . TAGS . items ( ) if v . lower ( ) == attribute_name . lower ( ) ) return index
PIL.ExifTags.TAGS is a dictionary of indices with corresponding names.
PIL . ExifTags . TAGS is a dictionary of indices with corresponding names .
"""
        PIL.ExifTags.TAGS is a dictionary of indices with corresponding names.
        This is a convenience function that returns the EXIF index for
        the corresponding name to lessen the confusion

        :param attribute_name:
        :return:
        """
None
attribute_name
None