code: def get_experiment_name(initial_experiment_name=None):
      global experiment_name
  
      match = None
      while match is None:
          if initial_experiment_name is None:
              msg_if_timeout = "Timeout waiting for experiement name."
              experiment_name = screen.ask_input_with_timeout(
                  "Please enter an experiment name: ",
                  60,
                  msg_if_timeout,
              )
          else:
              experiment_name = initial_experiment_name
  
          if not experiment_name:
              experiment_name = ""
  
          experiment_name = experiment_name.replace(" ", "_")
          match = re.match("^$|^[\w -/]{1,1000}$", experiment_name)
  
          if match is None:
              screen.error(
                  "Experiment name must be composed only of alphanumeric letters, "
                  "underscores and dashes and should not be longer than 1000 characters."
              )
  
      experiment_name = match.group(0)
      return experiment_name
  
imports: import atexit
  import datetime
  import os
  import re
  import shutil
  import signal
  import time
  import uuid
  from subprocess import Popen, PIPE
  from typing import Union
  from PIL import Image
  from pandas import DataFrame
  from six.moves import input
label_desc: Use image node_id 6 for calling a global function with example usage: get_experiment_name(initial_experiment_name) and returns: experiment_name