Media player? Media editor?
But I was getting confused, but think I've tightened it up some. This time, I am sure the checksums match. It may not be pretty and least resource intensive, but it works:
But I was getting confused, but think I've tightened it up some. This time, I am sure the checksums match. It may not be pretty and least resource intensive, but it works:
import os def copyFunc(source, destination): with open(source, 'rb') as f1, open(destination, 'wb') as f2: full_size = os.stat(source).st_size full = 0 increment = 10485760 while full < full_size: chunk = f1.read(increment) full += increment calc = full if calc + increment > full_size: calc += full_size - full f2.write(chunk) print(round(calc / full_size * 100, 1), '%\r') one = '397.64-desktop.exe' two = 'C:\\Users\Mark\Downloads\Ordenador\driver.exe' copyFunc(one, two)A problem is that it prints 100% twice. I have to fix that...