python print all files in curent directory code example
Example: python list files in current directory
import os
files = os.listdir('.')
print(files)
for file in files:
# do something
import os
files = os.listdir('.')
print(files)
for file in files:
# do something