title: Check if path is empty in glob?
body: <p>Check if any folder in the glob search is empty and print their names.</p>
  
  <p>There are some folders that are empty in the directories.</p>
  
  <p>This is the code:</p>
  
  <pre><code>for i in glob.iglob('**/Desktop/testna/**' ,recursive = True):
      if not os.listdir(i): 
          print(f'{i} is empty' + '\n')
  </code></pre>
  
  <p>Returns:</p>
  
  <pre><code>NotADirectoryError
  </code></pre>