readline.remove_history_item()
  • References/Python/Python/Text Processing

readline.remove_history_item(pos) Remove history item specified by its position from the history. The position is zero-based

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

readline.set_history_length(length) Set or return the desired number of lines to save in the history file. The write_

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

regex.split(string, maxsplit=0) Identical to the split() function, using the compiled pattern.

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

re.purge() Clear the regular expression cache.

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

get_grouped_opcodes(n=3) Return a generator of groups with up to n lines of

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

string.ascii_lowercase The lowercase letters 'abcdefghijklmnopqrstuvwxyz'. This value is not locale-dependent and

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

unicodedata.combining(chr) Returns the canonical combining class assigned to the character chr as integer. Returns

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

stringprep.in_table_c9(code) Determine whether code is in tableC.9 (Tagging characters).

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

unicodedata.ucd_3_2_0 This is an object that has the same methods as the entire module, but uses the Unicode database version

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

get_opcodes() Return list of 5-tuples describing how to turn a into b. Each tuple is of the form (tag

2025-01-10 15:47:30