Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get list file endswith python

lstJson = [f for f in os.listdir(str(self.pathJson)) if f.endswith('.json')]
        return lstJson
 
PREVIOUS NEXT
Tagged: #list #file #endswith #python
ADD COMMENT
Topic
Name
6+1 =