def GetGeneratedFileName(clsid, lcid, major, minor):
 return (str(clsid).upper()[1:(-1)] + ('x%sx%sx%s' % (lcid, major, minor)))

def GetGeneratedFileName ( clsid , lcid , major , minor ) : return ( str ( clsid ) . upper ( ) [ 1 : ( - 1 ) ] + ( 'x%sx%sx%s' % ( lcid , major , minor ) ) )
given the clsid .