我有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