User talk:JimD: Difference between revisions
Content added Content deleted
(Welcome aboard.) |
(shutil.copyfile is all you need.) |
||
Line 2: | Line 2: | ||
:Glad to have you aboard. BTW...Email works on RC; you might want to verify an email address.--[[User:Short Circuit|Short Circuit]] 20:35, 12 October 2007 (MDT) |
:Glad to have you aboard. BTW...Email works on RC; you might want to verify an email address.--[[User:Short Circuit|Short Circuit]] 20:35, 12 October 2007 (MDT) |
||
== [[File I/O]] == |
|||
Hi Jim, If you took a look at the source for shutil.copyfile then you would see that it is as robust as the extra code you have written. Why re-invent what is available in the Python standard library? I would prefer the Python entry point users at using the succinct shutil.copyfile rather than them having to remember what mode to open the files, closing files, ... --[[User:Paddy3118|Paddy3118]] 11:47, 20 November 2008 (UTC) |