I'm iterating through a directory containing a number of JSON files and sub-directories and .txt files. I need to do this until there are no more JSON files remaining in this root directory.
How do I express this condition?
I'm iterating through a directory containing a number of JSON files and sub-directories and .txt files. I need to do this until there are no more JSON files remaining in this root directory.
How do I express this condition?