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

All Samples(6)  |  Call(0)  |  Derive(3)  |  Import(3)
gadget to accumulate information in a page
and then allow it to be interrogated at the end
of the page

src/r/e/ReportLab-HEAD/tests/test_platypus_accum.py   ReportLab(Download)
from reportlab.lib.testutils import setOutDir,makeSuiteForClasses, outputfile, printLocation
setOutDir(__name__)
import os,unittest
from reportlab.platypus import Spacer, SimpleDocTemplate, Table, TableStyle, LongTable
from reportlab.platypus.doctemplate import PageAccumulator
class MyPageAccumulator(PageAccumulator):
    def pageEndAction(self,canv,doc):
        L42 = [x[0] for x in self.data if not x[0]%42]
        L13 = [x[0] for x in self.data if not x[0]%13]
        if L42 and L13:

src/r/e/reportlab-3.1.8/tests/test_platypus_accum.py   reportlab(Download)
from reportlab.lib.testutils import setOutDir,makeSuiteForClasses, outputfile, printLocation
setOutDir(__name__)
import os,unittest
from reportlab.platypus import Spacer, SimpleDocTemplate, Table, TableStyle, LongTable
from reportlab.platypus.doctemplate import PageAccumulator
class MyPageAccumulator(PageAccumulator):
    def pageEndAction(self,canv,doc):
        L42 = [x[0] for x in self.data if not x[0]%42]
        L13 = [x[0] for x in self.data if not x[0]%13]
        if L42 and L13:

src/m/w/mwlib.ext-0.13.2/upstream-src/tests/test_platypus_accum.py   mwlib.ext(Download)
from reportlab.lib.testutils import setOutDir,makeSuiteForClasses, outputfile, printLocation
setOutDir(__name__)
import os,unittest
from reportlab.platypus import Spacer, SimpleDocTemplate, Table, TableStyle, LongTable
from reportlab.platypus.doctemplate import PageAccumulator
class MyPageAccumulator(PageAccumulator):
    def pageEndAction(self,canv,doc):
        L42 = [x[0] for x in self.data if not x[0]%42]
        L13 = [x[0] for x in self.data if not x[0]%13]
        if L42 and L13: