title: How to display subfolders by numerical order in python
body: <p>I have folders named by numbers, and  want to sort them by a numerical order, as shown in the code bellow: </p>
  
  <pre><code>f = os.walk(dataset_dir )
  for subdir, dirs, files in enumerate(sorted(f), start=1):
      display(subdir)
  </code></pre>
  
  <p>I am getting this error:</p>
  
  <blockquote>
    <p>ValueError: not enough values to unpack (expected 3, got 2)</p>
  </blockquote>