"Russell Warren" <[EMAIL PROTECTED]> wrote:

>I just did a comparison of the copying speed of shutil.copy against the
>speed of a direct windows copy using os.system.  I copied a file that
>was 1083 KB.
>
>I'm very interested to see that the shutil.copy copyfileobj
>implementation of hacking through the file and writing a new one is
>significantly faster... any clue as to why this is?  I figure I'm
>missing something here.
>
>Does os.system launch a cmd shell every time?

Yes.  That's in the documentation.
-- 
- Tim Roberts, [EMAIL PROTECTED]
  Providenza & Boekelheide, Inc.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to