def cards_to_ps(self, lines):  
        """ Can tile cards to page if TEMPLATE_ROWS and TEMPLATE_COLS > 1 """
        for row in range(0, TEMPLATE_ROWS):
            for col in range(0, TEMPLATE_COLS):
                x = TEMPLATE_MARGIN_LEFT + col * CARD_WIDTH
                y = TEMPLATE_MARGIN_BOTTOM + row * CARD_HEIGHT
                self.card_to_ps(lines, x, y)
 Can tile cards to page if TEMPLATE_ROWS and TEMPLATE_COLS > 1 
recipes/Python/579136_Roll_your_own_Postscript_code/recipe-579136.py