>>> import albatross >>> ctx = albatross.SimpleContext('.') >>> ctx.locals.opt = 'spam' >>> ctx.locals.sel = 'spam' >>> albatross.Template(ctx, '', ''' ... ... ... eggs ... ... ''').to_html(ctx) >>> ctx.flush_content()