Cause analysis: Python \ has the meaning of escape, so the read path is wrong
import os
os.walk('C:\Users\user\Desktop\Test')
Solution:
1. Add r in front of the path to prevent character escape.
import os
os.walk(r'C:\Users\user\Desktop\Test')
2. Use a double diagonal bar to read and output a backslash
import os
os.walk(r'C:\\Users\\user\\Desktop\\Test')