Abstract:Through applying the CEGUI(Crazy Eddie's GUI)user interface LIB research, this paper accomplishes the CEGUI’s python encapsulation by using induction, flow optimization and frame Refactoring. User interface development and User interface editor can use this CEGUI python frame to build, optimize the developing flow, reduce the cost of User interface development and improve efficiency.