Python, reverse some lines down to up -
i don't know how this:
a b c d e 1 b c d e 2 b c d e 3 ... b c d e n
and need:
a b c d e n .... b c d e 3 b c d e 2 b c d e 1
i tried like:
newcontent=codecs.encode(content,'utf_8','replace') in reversed(newcontent): newcontent.append(i) print newcontent
Comments
Post a Comment