Gaaaaaaaaah, that's because "\U" means "Unicode" in Python. If
the string
containing tha path is "raw-ified", the problem should go. Could you try
substituting
<python>
a = next(walk("@path"))[1] </python>
with
<python>
a = next(walk(r"@path"))[1] </python>
and see what happens? (The prepended "r" means "raw")
That does the trick, thanks! Although again I encountered one of my "print"
problems. 'print a' produces " Array of strings, length 11"; I tried a
simple loop construct to print the content of a:
<hansl>
loop for i=1..nelem(a)
print a[i]
endloop
<\hansl>
but that does not work. Instead I have to assign 'z=a[i]' first and then
'print z'.
Best
Frederik