Text Processing Modules
stringprep
Exposes the Unicode membership and mapping tables defined for RFC 3454 string preparation. A protocol-specific profile decides which tables and steps to use. It is not a complete modern identifier validator or general-purpose Unicode normalization API.
Formal Syntax & Structure
python syntaxpython
import stringprepReturn Value
module
Module namespace available through import; import is a statement, not a value-returning expression.
Working Example
Example Snippetpython
import stringprepprint(stringprep.in_table_c11(" "))print(stringprep.map_table_b2("A"))