classes teach to remind myself and my students when it' time to move on (the effect is more striking when this pop up is projected onto an entire wall!finallylike pyeditpyclock can be run either standalone or attached to and embedded in other guis that need to display the current time when standalonethe windows module from the preceding (example - is reused here to get window icontitleand quit pop up for free to make it easy to start preconfigured clocksa utility module called clockstyles provides set of clock configuration objects you can importsubclass to extendand pass to the clock constructorfigure - shows few of the preconfigured clock styles and sizes in actionticking away in sync run clockstyles py (or select pyclock from pydemoswhich does the sameto recreate this timely scene on your computer each of these clocks uses after events to check for system-time rollover times per second when run as top-level windows in the same processall receive timer event from the same event loop when started as independent programseach has an event loop of its own either waytheir second hands sweep in unison each second pyclock source code all of the pyclock source code lives in one fileexcept for the precoded configuration style objects if you study the code at the bottom of the file shown in example - you'll notice that you can either make clock object with configuration object passed in or specify configuration options by command-line arguments such as the following (in which casethe script simply builds configuration object for you) :\pp \gui\clockclock py -bg gold -sh brown -size complete gui programs