0

I have a directory full of files of several different types (.fits, .jpg, .txt, etc.). I want to create a list that contains strings of only all the .fits filenames in the directory. Is there a convenient way to write this in Python?

Dila
  • 649
  • 1
  • 10

0 Answers0