Module Expr Str Import alias Import alias ImportFrom alias FunctionDef arguments args defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword Str Return Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad keyword Num body If CompareEq NameLoad Num body AugAssignAdd NameStore Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr BinOpMod Str NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Assign NameStore NameLoad While NameLoad body TryExcept body Assign NameStore Call NameLoad handlers ExceptHandler type NameLoad body Break If UnaryOpNot NameLoad body Return SubscriptLoad NameLoad Index Num TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Print Str Continue If CompareNotIn NameLoad Call NameLoad Num BinOpAdd Call NameLoad NameLoad Num body Print BinOpMod Str NameLoad Continue Assign NameStore SubscriptLoad NameLoad Index BinOpSub NameLoad Num Assign NameStore NameLoad If NameLoad body Return BinOpSub NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str While NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad Str orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call NameLoad If CompareIn Call AttributeLoad NameLoad attr ListLoad Str Str body Return NameLoad If CompareIn Call AttributeLoad NameLoad attr ListLoad Str Str body Return NameLoad If UnaryOpNot NameLoad body Return NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If NameLoad body AugAssignAdd NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call NameLoad handlers ExceptHandler type NameLoad body Return NameLoad If UnaryOpNot NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore NameLoad While NameLoad body Assign NameStore Call NameLoad NameLoad If UnaryOpNot NameLoad body Break Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call NameLoad Str Continue If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call NameLoad Str Continue Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad While NameLoad body Assign NameStore Call NameLoad NameLoad If UnaryOpNot NameLoad body Break Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call NameLoad Str orelse Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Return NameLoad decorator_list
N/A N/A Small set of tools to interact with the user

 N/A os N/A qisys qisys ui read_input N/A N/A N/A N/A N/A  Read input from the user

     N/A N/A N/A ui info N/A ui green >  end N/A N/A raw_input N/A ask_choice N/A N/A choices input_text return_int N/A False N/A N/A Ask the user to choose from a list of choices

     N/A N/A N/A ui info N/A ui green :: N/A ui reset input_text N/A N/A i choice N/A enumerate choices start 1 N/A N/A N/A i 1 N/A N/A choice  	(default) N/A N/A N/A ui info N/A ui blue N/A %i i N/A ui reset choice N/A keep_asking True N/A res None N/A keep_asking N/A N/A N/A N/A answer N/A read_input N/A N/A N/A KeyboardInterrupt N/A N/A N/A N/A answer N/A N/A N/A choices N/A 0 N/A N/A N/A index N/A int answer N/A N/A N/A ValueError N/A N/A Please enter number N/A N/A N/A index N/A range 1 N/A N/A len choices 1 N/A N/A N/A %i is out of range index N/A N/A res N/A choices N/A N/A index 1 N/A keep_asking False N/A return_int N/A N/A N/A index 1 N/A res N/A ask_yes_no N/A N/A question default N/A False N/A N/A Ask the user to answer by yes or no N/A True N/A N/A default N/A N/A N/A N/A ui info N/A ui green :: N/A ui reset question (Y/n) N/A N/A N/A N/A ui info N/A ui green :: N/A ui reset question (y/N) N/A answer N/A read_input N/A N/A N/A N/A answer lower N/A y yes N/A N/A True N/A N/A N/A N/A answer lower N/A n no N/A N/A False N/A N/A answer N/A N/A default N/A N/A N/A ui warning Please answer by 'yes' or 'no' N/A ask_string N/A N/A question default N/A None N/A N/A Ask the user to enter something.

    Returns what the user entered
     N/A default N/A N/A question N/A  (%s) default N/A N/A N/A ui info N/A ui green :: N/A ui reset question N/A N/A N/A answer N/A read_input N/A N/A N/A KeyboardInterrupt N/A N/A default N/A N/A answer N/A N/A default N/A answer N/A ask_program N/A N/A message N/A N/A N/A Ask the user to enter a path
    to a program.

    Look for it in PATH. If not found,
    ask the user to enter the full path.

    If still not found, give up ...
     N/A keep_going True N/A keep_going N/A N/A full_path N/A ask_string message N/A N/A full_path N/A N/A N/A full_path N/A N/A N/A qisys sh to_native_path full_path N/A N/A N/A N/A N/A os path exists full_path N/A N/A N/A N/A ui error N/A %s does not exist full_path N/A keep_going N/A ask_yes_no continue? N/A N/A N/A N/A N/A os access full_path N/A os X_OK N/A N/A N/A N/A ui error N/A %s is not a valid executable! full_path N/A keep_going N/A ask_yes_no continue? N/A N/A full_path N/A ask_app N/A N/A message N/A N/A N/A  Ask the use to enter path to a .app  N/A keep_going True N/A full_path None N/A keep_going N/A N/A full_path N/A ask_string message N/A N/A full_path N/A N/A N/A full_path N/A N/A N/A qisys sh to_native_path full_path N/A N/A N/A N/A N/A os path isdir full_path N/A N/A N/A N/A ui error N/A %s does not exist or is not a directory full_path N/A keep_going N/A ask_yes_no continue? N/A N/A keep_going False N/A full_path N/A get_editor N/A N/A N/A N/A N/A Find the editor searching the environment, lastly ask the user.

    Returns the editor.
     N/A editor N/A N/A N/A os environ get VISUAL N/A N/A editor N/A N/A editor N/A N/A N/A os environ get EDITOR N/A N/A editor N/A N/A N/A N/A ui warning Could not find the editor to use. N/A editor N/A N/A N/A qisys interact ask_program Please enter an editor N/A editor N/A