title: Python rglob pattern for directory search
body: <p>I try to get the name of subdirectories with Python3 script on Windows10.
  Thus, I wrote code as follows:</p>
  
  <pre><code>from pathlib2 import Path
  p = "./path/to/target/dir"
  [str(item) for item in Path(p).rglob(".")]
  # obtained only subdirectories path names including target directory itself.
  </code></pre>
  
  <p>It is good for me to get this result, but I don't know why the pattern of rglob argument returns this reuslt.</p>
  
  <p>Can someone explain this?</p>
  
  <p>Thanks.</p>