[Tutor] How to check a files size

Kent Johnson kent37 at tds.net
Thu Jun 29 09:26:13 CEST 2006


> From: "John Fouhy" <john at fouhy.net>
> 
> On 29/06/06, Kent Johnson <kent37 at tds.net> wrote:
> > See shutil.copyfile()
> 
> Why isn't this function in the os module with the other file commands?

I don't know why they are broken up in this way. The glob module also has some file access commands.

J Orendorff's path module integrates them and makes a very useful wrapper around file functionality. I use it a lot:
http://www.jorendorff.com/articles/python/path/index.html

Kent




More information about the Tutor mailing list