code: def script_path(filename):
      """
      A convenience function to get the absolute path to a file in this
      tutorial's directory. This allows the tutorial to be launched from any
      directory.
  
      """
      import os
  
      filepath = os.path.join(os.path.dirname(__file__))
      return os.path.join(filepath, filename)
  
file_path: metaflow/metaflow/tutorials/02-statistics/stats.py
imports: from metaflow import FlowSpec, step, IncludeFile
label_desc: Use image node_id 1 for calling a global function with example usage: script_path(filename) and returns: os