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

match.groupdict(default=None) Return a dictionary containing all the named subgroups of the match, keyed by the subgroup

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

break_long_words (default: True) If true, then words longer than width will be broken in order to

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

string.ascii_uppercase The uppercase letters 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'. This value is not locale-dependent and

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

readline.insert_text(string) Insert text into the line buffer at the cursor position. This calls rl_insert_text()

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

match.pos The value of pos which was passed to the search() or match() method of a regex

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

string.hexdigits The string '0123456789abcdefABCDEF'.

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

regex.findall(string[, pos[, endpos]]) Similar to the findall() function, using the compiled pattern, but also

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

readline.redisplay() Change what’s displayed on the screen to reflect the current contents of the line buffer. This calls

2025-01-10 15:47:30