shutil.copyfile is incomplete (truncated)

Mark Lawrence breamoreboy at yahoo.co.uk
Fri Apr 12 08:18:58 EDT 2013


On 12/04/2013 13:07, Rob Schneider wrote:
> On Friday, 12 April 2013 10:22:21 UTC+1, Chris Angelico  wrote:
>> On Fri, Apr 12, 2013 at 7:18 PM, Rob Schneider <rmschne at gmail.com> wrote:
>>
>>>    f.close
>>
>> Yep, there's the problem! See my previous post for details. Change this to:
>>
>> f.close()
>>
>> and you should be sorted.
>>
>> ChrisA
>
> Slapping forehead ... hard.  Thanks!
>

a) We've all done it :)
b) The print function/statement or Python's interactive mode are awesome 
in situations like this.

-- 
If you're using GoogleCrap™ please read this 
http://wiki.python.org/moin/GoogleGroupsPython.

Mark Lawrence




More information about the Python-list mailing list