a oe @s\ddlZddlZddlZddlZddlZgdZddZeejkrXddlZe rXedS)N) )z Open GL Demoz#import openGLDemo;openGLDemo.test())z Threaded GUIz-import threadedgui;threadedgui.ThreadedDemo())zTree View Demoz#import hiertest;hiertest.demoboth())z3-Way Splitter Windowzimport splittst;splittst.demo())zCustom Toolbars and Tooltipszimport toolbar;toolbar.test())z Progress Barz%import progressbar;progressbar.demo())zSlider Controlz#import sliderdemo;sliderdemo.demo())zDynamic window creationz!import createwin;createwin.demo())zVarious Dialog demoszimport dlgtest;dlgtest.demo())zOCX Control Demoz&from ocx import ocxtest;ocxtest.demo())zOCX Serial Port Demoz3from ocx import ocxserialtest; ocxserialtest.test())zIE4 Control DemozDfrom ocx import webbrowser; webbrowser.Demo("http://www.python.org")c Csrz ddl}Wntyzttd}Wn tjyPtdd}Yn0t |d}|j D]}t ||krfqqf|j |ddl}Yn0ddl }d|j vrtD]D\}}z t|Wqtd||d|dfYq0qdSddl}|jjd td g}|dur"qnt|\} }z t|Wn.td| |d|dfYn0qdS) Nrz \InstallPathzNThe InstallPath can not be located, and the Demos directory is not on the path.z\Demosz/gozDemo of %s failed - %s:%sz Select a Demoz Demo Title)fontdemo ImportErrorregutilZGetRegistryDefaultValueZBuildDefaultPythonKeywin32apierrorprintwin32uiZFullPathpathappendsysargvdemosexecexc_infoZpywin.dialogs.listZdialogslistZSelectFromLists) rZinstPathZdemosDirr r namecmdZpywinrctitler>C:\Program Files\Certbot\pkgs\pythonwin\pywin\Demos\guidemo.pydemosV             r) r __main__rrr rr__name__Z demoutilsZ NeedGoodGUIrrrrs6