You can just split the string at a given delimiter, and then just concatenate the delimiter at the start of each delimiter.
separator = ">"
line = ">m27348020>m8918930"
print [separator+i for i in line.split(separator) if len(i)>0]
>>> ['>m27348020', '>m8918930']
ZdaR
source
to share