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

format(format_string, *args, **kwargs) The primary API method. It takes a format string and an arbitrary set of positional and

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

readline.get_completion_type() Get the type of completion being attempted. This returns the rl_completion_type

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

readline.get_endidx() Get the beginning or ending index of the completion scope. These indexes are the start and end

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

parse(format_string) Loop over the format_string and return an iterable of tuples (literal_text, field_name

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

readline.add_history(line) Append line to the history buffer, as if it was the last line typed. This calls add_history()

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

class string.Template(template) The constructor takes a single argument which is the template string.

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

class difflib.SequenceMatcher This is a flexible class for comparing pairs of sequences of any type, so long as the sequence

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

class difflib.HtmlDiff This class can be used to create an HTML table (or a complete HTML file containing the table) showing

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

difflib.IS_CHARACTER_JUNK(ch) Return true for ignorable characters. The character ch is ignorable if ch is

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

string.whitespace A string containing all ASCII characters that are considered whitespace. This includes the characters space

2025-01-10 15:47:30