Astan Chee wrote:
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 modu
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.
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
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). This is what I have so far:
import shutil
import signal, os
def handler(signum, frame):
print 'Signal handler called with signal', si