> The problem is because you are trying to represent a Python program as a Python string literal, and doing it incorrectly.
Yes, that is exactly the problem. Thanks to all who replied. Changing changing '\n' to '\\n' fixed the problem. Edward -------------------------------------------------------------------- Edward K. Ream email: [EMAIL PROTECTED] Leo: http://webpages.charter.net/edreamleo/front.html -------------------------------------------------------------------- -- http://mail.python.org/mailman/listinfo/python-list