Python Menu Mapping