Files
meow_base/counting_files.py
2023-03-31 11:41:38 +02:00

6 lines
107 B
Python

import os
dir_to_count = "."
print(f"There are {len(os.listdir(dir_to_count))} files in the directory.")