def modified_time(file_path):
 if os.path.exists(file_path):
  return os.path.getmtime(file_path)
 else:
  return 0.0

def modified_time ( file_path ) : if os . path . exists ( file_path ) : return os . path . getmtime ( file_path ) else : return 0.0
return the modified time of the supplied file .