title: How to get the newest directory in Python
body: <p>I'm looking for a method that can find the newest directory created inside another directory
  The only method i have is <code>os.listdir()</code> but it shows all files and directories inside. How can I list only directories and how can I access to the attributes of the directory to find out the newest created?
  Thanks</p>