is set to include the directory containing the pp examples root directory if you wish to run the scripts here directlythey don' attempt to automatically configure your system or module import search paths to make this launcher bar even easier to rundrag it out to your desktop to generate clickable windows shortcut (do something similar on other systemssince this script hardcodes command lines for running programs elsewhere in the examples treeit is also useful as an index to major book examples figure - shows what pydemos looks like when run on windowsalong with some of the demos it launches--pydemos is the vertical button bar on the rightit looks slightly different but works the same on linux figure - pydemos with its pop ups and few demos the source code that constructs this scene is listed in example - (its first page may differ slightly from that shown being edited in figure - due to last minute tweaks which engineers can' seem to avoidbecause pydemos doesn' present much that' new in terms of gui interface programmingthoughmuch of it has been removed hereagainsee the examples package for the remainder in shortits demobutton function simply attaches new button to the main windowspring-loaded to spawn python program when pressed to start programspydemos calls an instance of the launchmodes portablelauncher object we met at the end of --its role as tkinter callback handler here is why function-call operation is used to kick off the launched program the pydemos and pygadgets launchers