我有obj的列表转换对象海峡,回到对象
[<DiffMatchPatch.patch_obj instance at 0x152a0b00>, <DiffMatchPatch.patch_obj instance at 0x152a0ab8>]
我后来他们转换为可疑交易报告 - 然后,我就
["@@ -797,44 +797,8 @@\n : %0A\n- print 'WithDrwaing %25d' %25 shs%0A\n \n", "@@ -854,158 +854,4 @@\n e %0A%0A\n-'''%0Aif __name__ == '__main__': %0A b=Transcations(amount=9) %0A b.deposit() %0A b.withdraw(2000) %0A b.interest(30) %0A b.chk()%0A'''%0A%0A%0A\n"]
是有可能的可疑交易报告转换回对象?
你失去你原来的清单? – SilentGhost 2011-01-19 13:25:14
不 - 我有原始列表,只是想知道是否有办法做到这一点 – pynew 2011-01-19 13:41:22