Answers for "get list file endswith python"

2

get list file endswith python

lstJson = [f for f in os.listdir(str(self.pathJson)) if f.endswith('.json')]
        return lstJson
Posted by: Guest on March-28-2021

Python Answers by Framework

Browse Popular Code Answers by Language