def getAllMonitors():
 monitorList = glob.glob(os.path.join(monitorFolder, '*.calib'))
 split = os.path.split
 splitext = os.path.splitext
 monitorList = [splitext(split(thisFile)[(-1)])[0] for thisFile in monitorList]
 return monitorList

def getAllMonitors ( ) : monitorList = glob . glob ( os . path . join ( monitorFolder , '*.calib' ) ) split = os . path . split splitext = os . path . splitext monitorList = [ splitext ( split ( thisFile ) [ ( - 1 ) ] ) [ 0 ] for thisFile in monitorList ] return monitorList
find the names of all monitors for which calibration files exist .