Python
0
Вклад в тег
name_files.append(name_file.replace('\\', '/'))
...
for i in range(files):
if not os.path.exists(os.path.dirname(name_files[i])):
os.makedirs(os.path.dirname(name_files[i]))
unpack = open(name_files[i], 'wb')
...