RosettaCodeData/Task/Binary-strings/Python/binary-strings-12.py

6 lines
170 B
Python

s1 = b"A 'byte string' literal \n"
s2 = b'You may use any of \' or " as delimiter'
s3 = b"""This text
goes over several lines
up to the closing triple quote"""