I need to count the number of continous character occurances(more than 1) in a file, and replace it with a compressed version, like below XYZAAAAAAAADEFAAcdAA --> XYZ8ADEF2Acd2A
Thanks Sumod -- http://mail.python.org/mailman/listinfo/python-list
I need to count the number of continous character occurances(more than 1) in a file, and replace it with a compressed version, like below XYZAAAAAAAADEFAAcdAA --> XYZ8ADEF2Acd2A
Thanks Sumod -- http://mail.python.org/mailman/listinfo/python-list