In [10]:
import os
In [21]:
path = './static/raw'
In [29]:
File = os.listdir(path)
In [35]:
File.remove('.DS_Store')
In [37]:
for file in File:
file_type = os.path.splitext(file)
print(file_type[1])
In [ ]: