shutil.copyfile is incomplete (truncated)

Neil Cerutti neilc at norwich.edu
Thu Apr 11 15:55:53 EDT 2013


On 2013-04-11, Rob Schneider <rmschne at gmail.com> wrote:
> Thanks. Yes, there is a close function call  before the copy is
> launched. No other writes. Does Python wait for file close
> command to complete before proceeding?

The close method is defined and flushing and closing a file, so
it should not return until that's done.

What command are you using to create the temp file?

-- 
Neil Cerutti



More information about the Python-list mailing list