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