English
Topic 6. Strings, f-strings and template strings, regular expressions
Goal: learn to process text with string methods and regular expressions, format tables with f-strings, distinguish text from bytes, validate Unicode input, and use Python 3.14 template strings with an explicit processor contract.
Lecture contents
- Strings and Unicode — Strings and Unicode code points · Text-processing methods · Text, bytes, and normalization
- f-strings and template strings — Formatting with f-strings · Python 3.14 template strings
- Regular expressions — Regular expression syntax · Groups, flags, and the Match object · Searching, extracting, and transforming data
- Program examples and common mistakes — Program examples · Limitations, checks, and common mistakes