string.Formatter.get_field()
  • References/Python/Python/Text Processing

get_field(field_name, args, kwargs) Given field_name as returned by parse() (see above), convert it to

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

readline.get_line_buffer() Return the current contents of the line buffer (rl_line_buffer in the underlying library)

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

initial_indent (default: '') String that will be prepended to the first line of wrapped output. Counts towards

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

exception re.error(msg, pattern=None, pos=None) Exception raised when a string passed to one of the functions here is not a

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

expand_tabs (default: True) If true, then all tab characters in text will be expanded to spaces using

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

fill(text) Wraps the single paragraph in text, and returns a single string containing the wrapped paragraph.

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

stringprep.in_table_c7(code) Determine whether code is in tableC.7 (Inappropriate for canonical representation).

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
re.findall()
  • References/Python/Python/Text Processing

re.findall(pattern, string, flags=0) Return all non-overlapping matches of pattern in string, as a list of

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