Tag

Formatted Strings

1 views collected around this technical thread.

Test Development Learning Exchange
Test Development Learning Exchange
Sep 23, 2023 · Fundamentals

Understanding Python String Prefixes: u, r, b, and f

Python string prefixes such as u (Unicode), r (raw), b (bytes), and f (formatted) indicate special string types, with each prefix altering how the string is interpreted, and the article explains their meanings, usage, and provides code examples for each.

Formatted StringsRaw StringsString Prefixes
0 likes · 3 min read
Understanding Python String Prefixes: u, r, b, and f