Python для I в каталоге

import os
for file in os.listdir(directory):
  print(file)
Muddy Mamba