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 doc
[s for s in os.listdir() if os.path.splitext(s) == 'f']