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)
    inputFile = document.latest_version().content.path
    outputFile = "/tmp/%s.rtf" % document_id
    DaisyPipeline.dtbook2rtf(inputFile, outputFile, **form.cleaned_data)
 
    return render_to_mimetype_response('application/rtf', document.title.encode('utf-8'), outputFile)

src/d/a/daisyproducer-HEAD/documents/views/todo.py   daisyproducer(Download)
            inputFile = document.latest_version().content.path
            outputFile = "/tmp/%s.rtf" % document_id
            DaisyPipeline.dtbook2rtf(inputFile, outputFile, **form.cleaned_data)
            return render_to_mimetype_response('application/rtf', 
                                               document.title.encode('utf-8'), outputFile)