>>> open('other.html', 'w').write('name = ""') >>> import albatross >>> ctx = albatross.SimpleContext('.') >>> ctx.locals.name = 'other.html' >>> albatross.Template(ctx, '', ''' ... Inserting other.html: here. ... ''').to_html(ctx) >>> ctx.flush_content() Inserting other.html: name = "other.html" here.