def view_session(module, number):
 global HOUSE
 mod = get_module(module, number)
 if hasattr(mod, 'view'):
  mod.view()

def view_session ( module , number ) : global HOUSE mod = get_module ( module , number ) if hasattr ( mod , 'view' ) : mod . view ( )
initializes a modules view .