Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os
- path = "."
- for root, dirs, files in os.walk(path):
- first = 0
- last = 3
- for i in range(0,len(files),3):
- print(files[i:i+3])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement