python file copying
Is there any difference in speed of copying files from one location to another bet开发者_JAVA百科wen python or delphi or c++ ? I guess that all 3 laguages uses same or similar win api calls and that there is not much performance difference.
Pythons shutil
module does not use the Windows API, but instead uses an open/read/write loop. This may or may not be slower than using CopyFile(Ex)
. Please measure it, everything else is just guessing.
精彩评论