Synchronous shutil.copyfile()
Hugo Ferreira
bytter at gmail.com
Tue Jan 30 10:05:23 EST 2007
Hi there,
I have a problem. I'm using calling shutil.copyfile() followed by
open(). The thing is that most of the times open() is called before
the actual file is copied. I don't have this problem when doing a
step-by-step debug, since I give enough time for the OS to copy the
file, but at run-time, it throws an exception.
Is there anyway to force a sync copy of the file (make python wait for
the completion)?
Thanks in advance!
Hugo Ferreira
More information about the Python-list
mailing list