[Moqtar]
| I am trying to walk a directory and print the file and its modified
| time. When the path is longer then 259 characters i get an error
| "Filename too long". I guess these is because windows limitation on
| path length.
|
| My code:
|
[... snip code ...]
|
| Traceback (most recent
I am trying to walk a directory and print the file and its modified
time. When the path is longer then 259 characters i get an error
"Filename too long". I guess these is because windows limitation on
path length.
My code:
import os
import time
for root,dirs,files in os.walk(directory):