On Wed, Oct 29, 2008 at 7:30 AM, W W <[EMAIL PROTECTED]> wrote: > I'm trying to compare two strings because I want to find the difference.
Albert pointed you to zip so that you can iterate through the two strings in lockstep. You may also want to investigate the python difflib module in the standard library. It has a lot of powerful tools for comparing texts that go beyond the simple case of comparing two strings for single-character differences. -- Jerry _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor