Tim Golden wrote:
Astan Chee wrote:
Hi,
I'm trying to modify the copytree function in shutil so that any file being copied does not take more than 5 minutes (if it does, skip to the next one).

One suggestion is to use the CopyFileEx API
exposed in the win32file module from pywin32. That
allows for a callback function which can abort
the copy (or issue a progress meter, etc.).
Thanks, but looking in the documentation there is no callback function. Did you mean */the Progress Routine?
Thanks again
/*
Obviously, you'd have to roll your own copytree, but
that's not beyond the wit of man.

TJG
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to