>>> import albatross >>> ctx = albatross.SimpleContext('.') >>> text = ''' ... ... Type in some text ... ... ''' >>> albatross.Template(ctx, '', text).to_html(ctx) >>> ctx.flush_content() >>> ctx.locals.msg = 'This came from the program' >>> albatross.Template(ctx, '', text).to_html(ctx) >>> ctx.flush_content()