code: def __init__(self, index1, index2, chars, tags=None):
      self.marks_before = {}
      self.marks_after = {}
      self.index1 = index1
      self.index2 = index2
      self.chars = chars
      if tags:
          self.tags = tags
  
imports: import string
  from idlelib.delegator import Delegator
label_desc: Use image node_id 1 to create a new Command object  with example: obj = Command(index1, index2, chars, tags)