code: def handle_keyboard_interrupt(flags):
      """Informs user how to delete stale summaries."""
      print("Keyboard interrupt by user")
      if flags.logdir.startswith("gs://"):
          bucketpath = flags.logdir[5:]
          print("Delete these summaries with: ")
          termcolor.cprint(
              "  gsutil rm -rf {}".format(flags.logdir), "red"
          )
          baseurl = "  https://pantheon.google.com/storage/browser/{}"
          print("Or by visiting: ")
          termcolor.cprint(baseurl.format(bucketpath), "red")
      else:
          print("Delete these summaries with: ")
          termcolor.cprint("  rm -rf {}".format(flags.logdir), "red")
  
file_path: graphics/tensorflow_graphics/projects/pointnet/helpers.py
imports: from __future__ import print_function
  import argparse
  import os
  import tempfile
  import time
  import tensorflow
  import termcolor
label_desc: Use image node_id 5 for calling a global function with example usage: handle_keyboard_interrupt(flags) without return types