On 3/19/2010 6:55 AM, Karjer Jdfjdf wrote:
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?


Take a look at the stringIO module.

--
Bob Gailer
919-636-4239
Chapel Hill NC

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to