(*files)
Checks if the file exists and die if not.
Checks if the file exists and die if not.
Checks if the file exists and die if not .
def check_exists(*files):
  """Checks if the file exists and die if not."""
  for f in files:
    if not os.path.exists(f):
      raise Exception('File does not exist: %s' % f)
def check_exists ( * files ) : for f in files : if not os . path . exists ( f ) : raise Exception ( 'File does not exist: %s' % f )