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/d/a/daisyproducer-HEAD/documents/views/browse.py   daisyproducer(Download)
    outputDir = tempfile.mkdtemp(prefix="daisyproducer-")
 
    DaisyPipeline.dtbook2dtb(inputFile, outputDir, **form.cleaned_data)
 
    zipFile = tempfile.NamedTemporaryFile(suffix='.zip', prefix=document_id, delete=False)

src/d/a/daisyproducer-HEAD/documents/views/todo.py   daisyproducer(Download)
            inputFile = document.latest_version().content.path
            outputDir = tempfile.mkdtemp(prefix="daisyproducer-")
            DaisyPipeline.dtbook2dtb(inputFile, outputDir, **form.cleaned_data)
 
            zipFile = tempfile.NamedTemporaryFile(suffix='.zip', prefix=document_id, delete=False)