Get List File Endswith Python
lstJson = [f for f in os.listdir(str(self.pathJson)) if f.endswith('.json')]
return lstJson
Spotless Swan
lstJson = [f for f in os.listdir(str(self.pathJson)) if f.endswith('.json')]
return lstJson