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

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

src/p/y/pyload-HEAD/module/web/pyload_app.py   pyload(Download)
from filters import relpath, unquotepath
from module.utils import formatSize, save_join, fs_encode, fs_decode
# Helper
    items = listdir(fs_encode(root))
    for item in sorted([fs_decode(x) for x in items]):
        if isdir(save_join(root, item)):
            folder = {
            files = listdir(save_join(root, item))
            for file in sorted([fs_decode(x) for x in files]):
                    if isfile(save_join(root, item, file)):

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)