to test mehtml text py media\html text-test\htmlmail html parse file name in commandlinedisplay result in tkinter text file assumed to be in unicode platform defaultbut text need not be import systkinter text open(sys argv[ ]' 'read(text html text(textt tkinter text( insert(' 'textt pack( mainloop(after this example and had been written and finalizedi did search for html-to-text translators on the web to try to find better optionsand discovered python-coded solution which is much more complete and robust than the simple prototype script here regrettablyi also discovered that this system is named the same as the script listed herethis was unintentional and unforeseen (alasdevelopers are predisposed to think alikefor details on this more widely tested and much better alternativesearch the web for html text it' open sourcebut follows the gpl licenseand is available only for python at this writing ( it uses the sgmllib which has been removed in favor of the new html parser in xunfortunatelyits gpl license may raise copyright concerns if shipped with pymailgui in this book' example package or otherwiseworseits status means it cannot be used at all with this book' examples today there are additional plain-text extractor options on the web worth checking outincluding beautifulsoup and yet another named html text py (noreally!they also appear to be available for just todaythough naturallythis story may change by the time you read this note there' no reason to reinvent the wheelunless existing wheels don' fit your cartmailconfiguser configurations in example - pymailgui' mailconfig user settings module is listed this program has its own version of this module because many of its settings are unique for pymailgui to use the program for reading your own emailset its initial variables to reflect your pop and smtp server names and login parameters the variables in this module also allow the user to tailor the appearance and operation of the program without finding and editing actual program logic as isthis is single-account configuration we could generalize this module' code to allow for multiple email accountsselected by input at the console when first importedpymailgui implementation