string.Template.substitute()
  • References/Python/Python/Text Processing

substitute(mapping, **kwds) Performs the template substitution, returning a new string. mapping is any dictionary-like

2025-01-10 15:47:30
string.Template.safe_substitute()
  • References/Python/Python/Text Processing

safe_substitute(mapping, **kwds) Like substitute(), except that if placeholders are missing from mapping

2025-01-10 15:47:30
unicodedata.lookup()
  • References/Python/Python/Text Processing

unicodedata.lookup(name) Look up character by name. If a character with the given name is found, return the corresponding character

2025-01-10 15:47:30
unicodedata.decomposition()
  • References/Python/Python/Text Processing

unicodedata.decomposition(chr) Returns the character decomposition mapping assigned to the character chr as string

2025-01-10 15:47:30
unicodedata.category()
  • References/Python/Python/Text Processing

unicodedata.category(chr) Returns the general category assigned to the character chr as string.

2025-01-10 15:47:30
re.error.colno
  • References/Python/Python/Text Processing

colno The column corresponding to pos.

2025-01-10 15:47:30
textwrap.TextWrapper.drop_whitespace
  • References/Python/Python/Text Processing

drop_whitespace (default: True) If true, whitespace at the beginning and ending of every line (after wrapping but

2025-01-10 15:47:30
readline.append_history_file()
  • References/Python/Python/Text Processing

readline.append_history_file(nelements[, filename]) Append the last nelements items of history to a file. The default

2025-01-10 15:47:30
string.Template.template
  • References/Python/Python/Text Processing

template This is the object passed to the constructor’s template argument. In general, you shouldn’t change it, but

2025-01-10 15:47:30
re.split()
  • References/Python/Python/Text Processing

re.split(pattern, string, maxsplit=0, flags=0) Split string by the occurrences of pattern. If capturing parentheses

2025-01-10 15:47:30