shutil.copyfile is incomplete (truncated)

Rob Schneider rmschne at gmail.com
Fri Apr 12 02:25:03 EDT 2013


> 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?
> 
> 

re command to write the file: 
f=open(fn,'w')
... then create HTML text in a string
f.write(html)
f.close 



More information about the Python-list mailing list