the wxpython gui library the wxpython library the wxpython library is cross platform gui library (or toolkitfor python it allows programmers to develop highly graphical user interfaces for their programs using common concepts such as menu barsmenusbuttonsfieldspanels and frames in wxpython all the elements of gui are contained within top level windows such as wx frame or wx dialog these windows contain graphical components known as widgets or controls these widgets/controls may be grouped together into panels (which may or may not have visible representationthus in wxpython we might construct gui fromframes which provide the basic structure for windowbordersa label and some basic functionality ( resizingdialogs which are like frames but provide fewer border controls widgets/controls that are graphical objects displayed in frame some other languages refer to them as ui components examples of widgets are buttonscheckboxesselection listslabels and text fields containers are component that are made up of one or more other components (or containersall the components within container (such as panelcan be treated as single entity thus gui is constructed hierarchically from set of widgetscontainers and one or more frames (or in the case of pop up dialog then dialogsthis is illustrated below for window containing several panels and widgets(cspringer nature switzerland ag huntadvanced guide to python programmingundergraduate topics in computer science