wraplines py utility for wrapping long lines of messages html text py rudimentary html parser for extracting plain text mailconfig py user configuration parametersserver namesfontsetc ==program-specific modules defined here:=sharednames py objects shared between window classes and main file viewwindows py implementation of viewwritereplyforward windows listwindows py implementation of mail-server and local-file list windows pymailguihelp py (see also pymailguihelp htmluser-visible help textopened by main window bar pymailgui py maintop-level file (run this)with main window types #################################################################################""import mailconfigsys from sharednames import appnamewindows from listwindows import pymailserverpymailfile ##############################################################################top-level window classes viewwritereplyforwardhelpbusybox all inherit from popupwindow directlyonly usageaskpassword calls popupwindow and attachesthe order matters here!--pymail classes redef some method defaults in the window classeslike destroy and okaytoexitmust be leftmostto use pymailfilewindow standaloneimitate logic in pymailcommon onopenmailfile##############################################################################uses icon file in cwd or default in tools dir srvrname mailconfig popservername or 'serverclass pymailserverwindow(pymailserverwindows mainwindow)" tkwith extra protocol and mixed-in methodsdef __init__(self)windows mainwindow __init__(selfappnamesrvrnamepymailserver __init__(selfclass pymailserverpopup(pymailserverwindows popupwindow)" toplevelwith extra protocol and mixed-in methodsdef __init__(self)windows popupwindow __init__(selfappnamesrvrnanepymailserver __init__(selfclass pymailservercomponent(pymailserverwindows componentwindow)" framewith extra protocol and mixed-in methodspymailgui implementation