/ Published in: Python
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
import os def callback(arg,directory,files): for f in files: print os.path.join(directory,f),repr(arg) os.path.walk(".",callback,"mensaje")