?import shutil
shutil.copy2('CONTCAR', ‘~\Users\j2h3\Desktop\Python_experements\Al100Cu201\POSCAR’, ‘*,’ ‘follow_symlinks=True’)
?with open('/file/source.dat', 'rb') as source, open('/file/destination', 'wb') as dest: dest.write(source.read())
Mihal61ch
возможно из за того что у файла нет расширения
shutil.copy2(path_from, path_to, follow_symlinks=True)