
Unicode HOWTO — Python 3.14.4 documentation
3 days ago · The String Type ¶ Since Python 3.0, the language’s str type contains Unicode characters, meaning any string created using "unicode rocks!", 'unicode rocks!', or the triple-quoted string syntax …
Unicode Objects and Codecs — Python 3.14.3 documentation
Apr 5, 2026 · Unicode Objects and Codecs ¶ Unicode Objects ¶ Since the implementation of PEP 393 in Python 3.3, Unicode objects internally use a variety of representations, in order to allow handling the …
unicodedata — Unicode Database — Python 3.14.4 documentation
2 days ago · This module provides access to the Unicode Character Database (UCD) which defines character properties for all Unicode characters. The data contained in this database is compiled from …
re — Regular expression operations — Python 3.14.3 documentation
Apr 7, 2026 · This module provides regular expression matching operations similar to those found in Perl. Both patterns and strings to be searched can be Unicode strings (str) as well as 8-bit strings …
codecs — Codec registry and base classes - Python
3 days ago · Python supports this conversion in several ways: the idna codec performs conversion between Unicode and ACE, separating an input string into labels based on the separator characters …
string — Common string operations — Python 3.14.4 documentation
Apr 7, 2026 · Template strings ($-strings) ¶ Note The feature described here was introduced in Python 2.4; a simple templating method based upon regular expressions. It predates str.format(), formatted …
2. Lexical analysis — Python 3.14.3 documentation
Apr 6, 2026 · 2. Lexical analysis ¶ A Python program is read by a parser. Input to the parser is a stream of tokens, generated by the lexical analyzer (also known as the tokenizer). This chapter describes …
html — HyperText Markup Language support — Python 3.14.4 …
3 days ago · html.unescape(s) ¶ Convert all named and numeric character references (e.g. >, >, >) in the string s to the corresponding Unicode characters. This function uses the rules defined …
binascii — Convert between binary and ASCII - Python
4 days ago · The binascii module contains a number of methods to convert between binary and various ASCII-encoded binary representations. Normally, you will not use these functions directly but use …
html.parser — Simple HTML and XHTML parser — Python 3.14.4 …
2 days ago · Source code: Lib/html/parser.py This module defines a class HTMLParser which serves as the basis for parsing text files formatted in HTML (HyperText Mark-up Language) and XHTML. …