>>> import albatross >>> ctx = albatross.SimpleContext('.') >>> ctx.locals.spam = 'manufactured meat' >>> ctx.locals.potato = ('mash', 'Mashed Potato') >>> ctx.locals.sel = ['manufactured meat', 'eggs'] >>> albatross.Template(ctx, '', ''' ... ... ... ... eggs ... bacon ... ... ''').to_html(ctx) >>> ctx.flush_content()