Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Recorrer filesystem
- import os
- for dirname, dirnames, filenames in os.walk('.'):
- for subdirname in dirnames:
- print os.path.join(dirname, subdirname)
- for filename in filenames:
- print os.path.join(dirname, filename)
Advertisement
Add Comment
Please, Sign In to add comment