title: Python: os.listdir alternative/certain extensions
body: <p>Is it possible to see files with certain extensions with the os.listdir command? I want it to work so it may show only files or folders with .f at the end. I checked the documentation, and found nothing, so don't ask.</p>