difflib.HtmlDiff.make_file()
  • References/Python/Python/Text Processing

make_file(fromlines, tolines, fromdesc='', todesc='', context=False, numlines=5, *, charset='utf-8') Compares fromlines

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

readline.read_history_file([filename]) Load a readline history file, and append it to the history list. The default filename

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

stringprep.in_table_c21(code) Determine whether code is in tableC.2.1 (ASCII control characters).

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

string.digits The string '0123456789'.

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

stringprep.in_table_c11_c12(code) Determine whether code is in tableC.1 (Space characters, union of C.1.1 and C.1.2)

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

string.printable String of ASCII characters which are considered printable. This is a combination of digits,

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

readline.set_pre_input_hook([function]) Set or remove the function invoked by the rl_pre_input_hook callback of

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

re.sub(pattern, repl, string, count=0, flags=0) Return the string obtained by replacing the leftmost non-overlapping occurrences

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

stringprep.in_table_a1(code) Determine whether code is in tableA.1 (Unassigned code points in Unicode 3.2).

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

fix_sentence_endings (default: False) If true, TextWrapper attempts to detect sentence endings and

2025-01-10 15:47:30