>>> import albatross >>> ctx = albatross.SimpleContext('.') >>> albatross.Template(ctx, '', ''' ... ... Will be executed when macro is expanded. ... ... ''').to_html(ctx) >>> ctx.flush_content() >>> albatross.Template(ctx, '', ''' ... ... ''').to_html(ctx) >>> ctx.flush_content() Will be executed when macro is expanded.