Python: String Prefix Character (u f r b)
String Prefix Char
a character may be prefixed to a string delimiter, to make the string of a particular type.
List of Prefix Chars
u"abc"→ means unicode string, in python 2. In python 3, all string are Unicode, the u prefex has no meaning.f"abc"→ means f-String, where you can embed expression by{expr}.r"abc"→ means Raw String. Escape Sequence is ignored.b"abc"→ means Byte sequence.
Prefix Chars Are Case-Insensitive
Combine Prefix Characters
allowed:
frbr
Order does not matter.