6 lines
107 B
Python
6 lines
107 B
Python
import os
|
|
|
|
dir_to_count = "."
|
|
|
|
print(f"There are {len(os.listdir(dir_to_count))} files in the directory.")
|