code: def realpath(filename, *, strict=False):
      """Return the canonical path of the specified filename, eliminating any
      symbolic links encountered in the path."""
      filename = os.fspath(filename)
      path, ok = _joinrealpath(filename[:0], filename, strict, {})
      return abspath(path)
  
imports: import os
  import sys
  import stat
  import genericpath
  from genericpath import *
label_desc: Use image node_id 16 for calling a global function with example usage: realpath(filename) and returns: abspath