This is out of curiosity, i know this can be done with python diffllib module, but been figuring out how to compute the delta, Consider two lists below. <div><br></div><div><div><div>s1 = ['e', 'f', 'g', 'A', 'B', 'C', 'D', 'C']</div>
<div>s2 =['e', 'A', 'B', 'f', 'g', 'C', 'D', 'z']</div></div><div><br></div><div>This is the result should be </div><div><br></div><div><div>[' e', '+ A', '+ B', ' f', ' g', '- A', '- B', ' C', ' D', '- C', '+ z']</div>
</div><div><br></div><div>ideas on how to approach this.. ? </div><div><br></div>-- <br><font style="color:rgb(0,51,0)" size="1"><b>Mob UG: +256 (0) 70 1735800 | NL +31 (0) 6 852 841 38 | Gtalk: jmwebaze | skype: mwebazej | URL: <a href="http://www.astro.rug.nl/~jmwebaze" target="_blank">www.astro.rug.nl/~jmwebaze</a><br>
<br>/* Life runs on code */</b></font><br><br>
</div>