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

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

src/p/y/pyload-HEAD/module/plugins/Plugin.py   pyload(Download)
from itertools import islice
 
from module.utils import save_join, save_path, fs_encode, fs_decode
 
def chunks(iterable, size):
        # convert back to unicode
        location = fs_decode(location)
        name = save_path(self.pyfile.name)
 
        filename = join(location, name)

src/p/y/pyload-HEAD/module/PyPackage.py   pyload(Download)
 
from module.PullEvents import UpdateEvent
from module.utils import save_path
 
class PyPackage():
    def folder(self):
        return save_path(self._folder)
 
    def toDict(self):
        """ Returns a dictionary representation of the data.