Febin Ameer Ahsen wrote: > how to implement diff command showing difference in box Don't implement diff yourself, use the difflib module instead. Albert