code: def _get_columns():
      # Returns the terminal column width.
      if sys.version_info >= (3, 3):
          cols, rows = shutil.get_terminal_size()
          return cols
      return int(os.getenv("COLUMNS", 80))
  
imports: import os
  import shutil
  import sys
  import traceback
  import six
  import chainer
label_desc: Use image node_id 6 for calling a global function with example usage: _get_columns() and returns: int, cols