Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/l/a/largeblue.order-0.2/src/bop/rdf.py   largeblue.order(Download)
                value = subnode.gettext()
            attr = self.interface[name]
            adapter = self.interface(shortcut.unsecure(self.context))
            if zope.schema.interfaces.IField.providedBy(attr):
                from_unicode = zope.schema.interfaces.IFromUnicode(attr, None)
    IReadFile = zope.filerepresentation.interfaces.IReadFile
    IReadDirectory = zope.filerepresentation.interfaces.IReadDirectory    
    context = shortcut.unsecure(context)
    tmpfile = tempfile.mktemp(".zip")
    archive = zipfile.ZipFile(tmpfile, 'w')
    def dump(self):
        """Dumps the data to a directory."""
        IReadFile = zope.filerepresentation.interfaces.IReadFile
        IReadDirectory = zope.filerepresentation.interfaces.IReadDirectory    
        context = shortcut.unsecure(self.context)
        IWriteFile = zope.filerepresentation.interfaces.IWriteFile
        IReadDirectory = zope.filerepresentation.interfaces.IReadDirectory    
        context = shortcut.unsecure(self.context)
 
        def read(path, file):