Ya I have checked the code 'rev' is generating the value what I expect but the problem is in inserting the data to database and generating the same output.
On Sun, Jun 17, 2012 at 5:26 PM, Anthony <[email protected]> wrote: > for name in zf.namelist(): >> filename = name.split('/')[-1] >> file_raw = zf.read(name) >> jsoligo = ''.join(split(''.join(file_**raw)))[::-1] >> rev =(jsoligo[find(jsoligo,'/')+** >> 2:find(jsoligo,';')][::-1]) >> > > Have you confirmed that the above code produces the results you want > (i.e., at that point, does "rev" contain the value you expect)? If so, then > the problem is probably with how you are generating the output, not the > input. > > Anthony >

