code: def vasp_version_from_outcar( filename='OUTCAR' ):
      
      with open( filename ) as f:
          line = f.readline().strip()
      return line
docs: Returns the first line from a VASP OUTCAR file, to get the VASP source version string.
  
      Args:
          filename (Str, optional): OUTCAR filename. Defaults to 'OUTCAR'.
  
      Returns:
          (Str): The first line read from the OUTCAR file.