From: SearchCursor directory and subdirectories using python
I run the code and py fined layers with YEUD=20
but i also get en error:
Traceback (most recent call last): File "C:\Users\yaron.KAYAMOT\Desktop\geonet.PY", line 11, in <module> for row in rows: UnicodeDecodeError: 'utf8' codec can't decode byte 0xe7 in position 23: invalid continuation byte >>>
i use files and folders names Right to left- how can i solve this issue please?
I would gave to agree with Curtus then, if the code i show above doesn't work on the YEUD field then it's probably above my knowledge. So, sorry, but I can't offer anything more, hopefully someone else can help you out.
i did grab the code myself, not that I have an immediate need to do what you are trying to do, but it might be something I can use in the future. Nice little utility (at least with my data).