stringprep.in_table_c6()
  • References/Python/Python/Text Processing

stringprep.in_table_c6(code) Determine whether code is in tableC.6 (Inappropriate for plain text).

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

readline.replace_history_item(pos, line) Replace history item specified by its position with line. The position is

2025-01-10 15:47:30
difflib.Differ
  • References/Python/Python/Text Processing

class difflib.Differ This is a class for comparing sequences of lines of text, and producing human-readable differences or deltas

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

textwrap.indent(text, prefix, predicate=None) Add prefix to the beginning of selected lines in text.

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

unicodedata.bidirectional(chr) Returns the bidirectional class assigned to the character chr as string. If no such

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

convert_field(value, conversion) Converts the value (returned by get_field()) given a conversion type (as in the

2025-01-10 15:47:30
difflib.SequenceMatcher.set_seqs()
  • References/Python/Python/Text Processing

set_seqs(a, b) Set the two sequences to be compared.

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

readline.get_history_length() readline.set_history_length(length) Set or return the desired number of lines to save

2025-01-10 15:47:30
difflib.SequenceMatcher.ratio()
  • References/Python/Python/Text Processing

ratio() Return a measure of the sequences’ similarity as a float in the range [0, 1]. Where

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

max_lines (default: None) If not None, then the output will contain at most max_lines lines

2025-01-10 15:47:30