Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/e/s/ESFS-HEAD/common/structure.py   ESFS(Download)
 
    im = Image.open(self.prefix+self.src)
    encoded = crypt.encode(self.key, ''.join(self.data))
 
    enc_im = stepic.encode(im, encoded)
    data_size -= 32
    data = "$"*data_size
    enc_data = crypt.encode(self.key, data)
    im = stepic.encode(im, enc_data)
    im.save(self.prefix+self.src)