programming python th edition mark lutzfor 'reilly mediainc pymailgui is multiwindow interface for processing emailboth online and rest of file omitted altconfigsconfiguring for multiple accounts though not an "officialpart of the systemi use few additional short files to launch and test it if you have multiple email accountsit can be inconvenient to change configuration file every time you want to open one in particular moreoverif you open multiple pymailgui sessions for your accounts at the same timeit would be better if they could use custom appearance and behavior schemes to make them distinct to address thisthe altconfigs directory in the examples source directory provides simple way to select an account and configurations for it at start-up time it defines new top-level script which tailors the module import search pathalong with mail config that prompts for and loads custom configuration module whose suffix is named by console input launcher script is also provided to run without module search path configurations--from pygadgets or desktop shortcutfor examplewithout requiring pythonpath settings for the pp root examples - through - list the files involved example - pp \internet\pymailgui\altconfigs\pymailgui py import sys sys path insert( 'exec(open(/pymailgui py'read()\pymailgui py or 'bookfor book configs add visibility for real dir do thisbut get mailconfig here example - pp \internet\pymailgui\altconfigs\mailconfig py above open(/mailconfig py'read(open('mailconfig_book py'' 'write(aboveacct input('account name?'exec('from mailconfig_% import *acctcopy version above here (hack?used for 'bookand as othersbase bookrmitrain is first on sys path example - pp \internet\pymailgui\altconfigs\mailconfig_rmi py from mailconfig_book import popservername 'pop rmi netpopusername 'lutzmyaddress 'lutz@rmi netlistbg 'navylistfg 'whitelistheight higher initially viewbg '#dbbedcviewfg 'blackwrapsz wrap at cols fetchlimit load more headers the pymailgui client get base in (copied from this is big inbox emails