Eryk Sun added the comment:
Your example works fine for me in Windows 10, and I see no reason why it would
fail in Windows 7. The crash dialog in your screenshot shows that the problem
occurred in a DLL named "winhadnt.dll". I suspect that this is malware injected
into the python.exe process.
New submission from aokaywe:
1.
os.makedirs(ur'\\?\c:\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试文件夹\测试