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
glob is good at this:
import glob for f in glob.glob("*.f"): print(f)