Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os
- files = []
- for (dirpaths, dirnames, filenames) in os.walk(os.getcwd()):
- files.extend(filenames)
- break
- for file in files:
- print(file)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement