how to create multiple layouts in python