original_docstring: 
          Main user facing function. Writes the given text over the text on the last line of the terminal.
  
          If clearBeforeWrite is set to True, will call clearLine() before writing, otherwise will not.
  
          The stream will be automatically flushed immediately after it is written.
          
docstring: Main user facing function. Writes the given text over the text on the last line of the terminal.
  If clearBeforeWrite is set to True, will call clearLine() before writing, otherwise will not.
  
  The stream will be automatically flushed immediately after it is written.
docstring_tokens: Main user facing function . Writes the given text over the text on the last line of the terminal . If clearBeforeWrite is set to True will call clearLine () before writing otherwise will not . The stream will be automatically flushed immediately after it is written .
code: def write(self, txt, clearBeforeWrite=True):
          '''
          Main user facing function. Writes the given text over the text on the last line of the terminal.
  
          If clearBeforeWrite is set to True, will call clearLine() before writing, otherwise will not.
  
          The stream will be automatically flushed immediately after it is written.
          '''
          if clearBeforeWrite:
              self.clearLine()
  
          if self._writtenData != '':
              txt = '\r' + txt
  
          self._writtenData += txt
          self._stream.write(txt)
          self._stream.flush()
code_tokens: def write ( self , txt , clearBeforeWrite = True ) : if clearBeforeWrite : self . clearLine ( ) if self . _writtenData != '' : txt = '\r' + txt self . _writtenData += txt self . _stream . write ( txt ) self . _stream . flush ( )
short_docstring: Main user facing function.
short_docstring_tokens: Main user facing function .
comment: '''
          Main user facing function. Writes the given text over the text on the last line of the terminal.
  
          If clearBeforeWrite is set to True, will call clearLine() before writing, otherwise will not.
  
          The stream will be automatically flushed immediately after it is written.
          '''