Mar-20-2021, 02:20 AM
i tried the first example found, at https://www.tutorialspoint.com/python3/os_walk.htm and it crashes after 24152 lines of output.
Output:Traceback (most recent call last):
File "walk1.py", line 7, in <module>
print(os.path.join(root, name))
UnicodeEncodeError: 'utf-8' codec can't encode character '\udce4' in position 88: surrogates not allowed
so i just took the first 24100 lines from running the example and sorted it. the input and output were very different. any idea which example shows the correct sorting?
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.