code: def copy_module(target_path, my_directory_full_path, my_module):
      '''
      Helper function for copy_module_to_local(). Provides the actual copy
      functionality, with highly cautious safeguards against copying over
      important things.
  
      Parameters
      ----------
      target_path : string
          String, file path to target location
  
      my_directory_full_path: string
          String, full pathname to this file's directory
  
      my_module : string
          String, name of the module to copy
  
      Returns
      -------
      none
      '''
  
      if target_path == 'q' or target_path == 'Q':
          print("Goodbye!")
          return
      elif target_path == os.path.expanduser("~") or os.path.normpath(target_path) == os.path.expanduser("~"):
          print("You have indicated that the target location is "+target_path+" -- that is, you want to wipe out your home directory with the contents of "+my_module+". My programming does not allow me to do that.\n\nGoodbye!")
          return
      elif os.path.exists(target_path):
          print("There is already a file or directory at the location "+target_path+". For safety reasons this code does not overwrite existing files.\nPlease remove the file at "+target_path+" and try again.")
          return
      else:
          user_input = input(+ my_module
                             + """\nto:\n    """+ target_path +"""\nIs that correct? Please indicate: y / [n]\n\n""")
          if user_input == 'y' or user_input == 'Y':
              #print("copy_tree(",my_directory_full_path,",", target_path,")")
              copy_tree(my_directory_full_path, target_path)
          else:
              print("Goodbye!")
              return
docs: Helper function for copy_module_to_local(). Provides the actual copy
      functionality, with highly cautious safeguards against copying over
      important things.
  
      Parameters
      ----------
      target_path : string
          String, file path to target location
  
      my_directory_full_path: string
          String, full pathname to this file's directory
  
      my_module : string
          String, name of the module to copy
  
      Returns
      -------
      none