Mike, that suggestion to read the file and then write it back out was just what I needed. It worked a treat on my large config file, and I'm now able to process it and move forward. Thanks a lot.
Thanks to Ed Blake too for pointing out that nasty last-line chomping bug in idleCE. It chomped my root.mainloop() and for a while I couldn't figure out why my app would vanish as soon as it started - then I remembered your posting and fixed it. cheers, -- Stewart Midwinter [EMAIL PROTECTED] [EMAIL PROTECTED] _______________________________________________ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/pythonce