>>> import albatross >>> ctx = albatross.SimpleContext('.') >>> albatross.Template(ctx, '', ''' ... ... ... ... ... ... ''').to_html(ctx) >>> ctx.locals.food = 'spam' >>> albatross.Template(ctx, '', ''' ... ... ... ... ... ''').to_html(ctx) >>> ctx.flush_content() spam! spam!! spam!!!