[Tutor] How to check a files size

Kent Johnson kent37 at tds.net
Thu Jun 29 06:48:46 CEST 2006


> From: Magnus Wirström <asdlinux at yahoo.se>
> 
> Hi everyone.
> 
> I would like to ask what is the best way to get the file size on a large 
> file. the operation i'm trying to preform is to copy a large file to 
> another drive using python file I/O commands. perhaps there is a better 
> solution or a module that is doing this more easy?

See shutil.copyfile()

Kent




More information about the Tutor mailing list