def embeddedFileCount(self):
        """Return number of embedded files."""
        if self.isClosed or self.isEncrypted:
            raise ValueError("operation illegal for closed / encrypted doc")

        return _fitz.Document_embeddedFileCount(self)
def embeddedFileCount ( self ) : if self . isClosed or self . isEncrypted : raise ValueError ( "operation illegal for closed / encrypted doc" ) return _fitz . Document_embeddedFileCount ( self )
Return number of embedded files.