def filename(self, version):
    '        Returns the recommended font file name to be used to store the font on disk.\n\n        It is composed of the font’s uniqueID, its version string and the file\n        extension. Together, they must not exceed 220 characters.\n        '
    if (not (type(version) in (str, int, float))):
        raise ValueError('Supplied version must be str or int or float')
    if self.format:
        return ('%s_%s.%s' % (self.uniqueID, version, self.format))
    else:
        return ('%s_%s' % (self.uniqueID, version))
Returns the recommended font file name to be used to store the font on disk.

It is composed of the font’s uniqueID, its version string and the file
extension. Together, they must not exceed 220 characters.
def filename(self, version):
    '        Returns the recommended font file name to be used to store the font on disk.\n\n        It is composed of the font’s uniqueID, its version string and the file\n        extension. Together, they must not exceed 220 characters.\n        '
    if (not (type(version) in (str, int, float))):
        raise ValueError('Supplied version must be str or int or float')
    if self.format:
        return ('%s_%s.%s' % (self.uniqueID, version, self.format))
    else:
        return ('%s_%s' % (self.uniqueID, version))