<s> from __future__ import print_function <EOL> import os , sys <EOL> sys . path . append ( os . path . abspath ( r'<STR_LIT>' ) ) <EOL> from pyface . action . api import Action <EOL> from pyface . action . api import Group , MenuManager , Separator <EOL> file_menu = MenuManager ( <EOL> Group ( <EOL> Action ( name = '<STR_LIT>' ) , <EOL> Action ( name = '<STR_LIT>' ) , <EOL> id = '<STR_LIT>' , <EOL> ) , <EOL> Group ( <EOL> Action ( name = '<STR_LIT>' ) , <EOL> Action ( name = '<STR_LIT>' ) , <EOL> id = '<STR_LIT>' <EOL> ) , <EOL> Group ( <EOL> Action ( name = '<STR_LIT>' ) , <EOL> Action ( name = '<STR_LIT>' ) , <EOL> id = '<STR_LIT>' <EOL> ) , <EOL> Group ( <EOL> Action ( name = '<STR_LIT>' ) , <EOL> id = '<STR_LIT>' <EOL> ) , <EOL> ) <EOL> file_menu . dump ( ) <EOL> file_menu = MenuManager ( <EOL> Action ( name = '<STR_LIT>' ) , <EOL> Action ( name = '<STR_LIT>' ) , <EOL> Separator ( ) , <EOL> Action ( name = '<STR_LIT>' ) , <EOL> Action ( name = '<STR_LIT>' ) , <EOL> Separator ( ) , <EOL> Action ( name = '<STR_LIT>' ) , <EOL> Action ( name = '<STR_LIT>' ) , <EOL> Separator ( ) , <EOL> Action ( name = '<STR_LIT>' ) , <EOL> ) <EOL> file_menu . dump ( ) <EOL> def new_project ( ) : <EOL> print ( '<STR_LIT>' ) <EOL> def open_project ( ) : <EOL> print ( '<STR_LIT>' ) <EOL> def close_project ( ) : <EOL> print ( '<STR_LIT>' ) <EOL> def close_active_editor ( ) : <EOL> print ( '<STR_LIT>' ) <EOL> def export_to_html ( ) : <EOL> print ( '<STR_LIT>' ) <EOL> def printit ( ) : <EOL> print ( '<STR_LIT>' ) <EOL> def exit ( ) : <EOL> print ( '<STR_LIT>' ) <EOL> file_menu = MenuManager ( <EOL> open_project , <EOL> Separator ( ) , <EOL> close_project , <EOL> close_active_editor , <EOL> Separator ( ) , <EOL> export_to_html , <EOL> printit , <EOL> Separator ( ) , <EOL> exit , <EOL> ) <EOL> file_menu . dump ( ) </s>
