[Tutor] difflib context to string-object?

Karjer Jdfjdf karper12345 at yahoo.com
Fri Mar 19 11:55:06 CET 2010

With difflib.context_diff it is possible to write the context to files.

difflib.context_diff(a, b[, fromfile][, tofile][, fromfiledate][, tofiledate][, n][, lineterm])

Is it also possible to do this to seperate string-objects instead of writing them to files? 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100319/d6eeb4ce/attachment.html>

More information about the Tutor mailing list