fork download
  1. import re
  2. rawByteString = b'\\!\x00\x00\x00\x00\x00\x00\\!\x00\x00\x00\x00\x00\x00'
  3. print ( re.split(rb'(?!\A)(?=\\!)', rawByteString) )
Success #stdin #stdout 0.02s 9452KB
stdin
Standard input is empty
stdout
[b'\\!\x00\x00\x00\x00\x00\x00', b'\\!\x00\x00\x00\x00\x00\x00']