this file gets the job done example - pp \internet\web\pymailcgi\pageflow txt file or script creates [pymailcgi html=[onrootviewlink py=[onviewpswdsubmit py=[onviewlistlink py=[onviewpageaction py=[oneditpagesend py=back to root root window pop password window list window (loads all pop mailview window pick=del|reply|fwd (fetchedit windowor delete+confirm (delconfirmation (sends smtp mail=[onrootsendlink py=[oneditpagesend py=back to root edit window confirmation (sends smtp mailthis file simply lists all the source files in the systemusing =and indentation to denote the scripts they trigger for instancelinks on the pymailcgi html root page invoke onrootviewlink py and onrootsendlink pyboth executable scripts the script onrootviewlink py generates password pagewhose submit button in turn triggers onviewpswdsubmit pyand so on notice that both the view and the send actions can wind up triggering oneditpagesend py to send new mailview operations get there after the user chooses to reply to or forward an incoming mail in system such as thiscgi scripts make little sense in isolationso it' good idea to keep the overall page flow in mindrefer to this file if you get lost for additional contextfigure - shows the overall contents of this siteviewed as directory listings under cygwin on windows in shell window when you install this siteall the files you see here are uploaded to pymailcgi subdirectory of your web directory on your server' machine besides the page-flow html and cgi script files invoked by user interactionpymailcgi uses handful of utility modulescommonhtml py provides library of html tools externs py isolates access to modules imported from other places loadmail py encapsulates mailbox fetches for future expansion secret py implements configurable password encryption the pymailcgi website