Tagged articles
3 articles
Page 1 of 1
Lisa Notes
Lisa Notes
Mar 21, 2026 · Fundamentals

Python String Basics: Common Techniques and Examples

This note explains how to declare Python strings with various quotes, embed quotes inside strings, use escape sequences, and apply raw strings and f‑strings, providing clear code snippets and their outputs for each case.

Escape CharactersFormatted StringPython
0 likes · 4 min read
Python String Basics: Common Techniques and Examples
Python Programming Learning Circle
Python Programming Learning Circle
Mar 23, 2020 · Fundamentals

Understanding Escape Characters and Regular Expressions in Python

This article explains Python's escape characters, raw strings, the fundamentals of regular expressions, their matching process, greedy versus non‑greedy quantifiers, backslash handling, and provides detailed examples of the re module's functions such as compile, match, search, split, findall, finditer, sub and subn.

Escape Characterspattern-matchingre module
0 likes · 17 min read
Understanding Escape Characters and Regular Expressions in Python
ITPUB
ITPUB
May 24, 2016 · Fundamentals

Why Does a Backslash Behave Differently in Bash and Ksh? Master Shell Quoting

This article explains literal versus meta characters in shells, the three quoting methods (escape, strong, weak), and demonstrates why printing backslashes with echo requires different numbers of backslashes in Bash and Ksh, including work‑arounds like the -E option and set -x debugging.

BashEscape CharactersShell
0 likes · 8 min read
Why Does a Backslash Behave Differently in Bash and Ksh? Master Shell Quoting