Just write your own string class, but you cannot get the syntax of the construct you want. The closest you can get is
a = MyString("some string")
where MyString
is your own class. I suppose you can make an alias b = MyString
if you want.
, , b"some string"
bytestring. Python 2 . Python 3 bytes
, unicode Python 3.