> > f=open('1','wb')
> > print len(f)
> You don't need to open the file to get its size. The file's size is
> stored in the directory metadata about the file, along with its
> modification time, file name, permissions, etc.
How about that?
Should I close file for get it size or should I write a C-like function with
|All times are GMT. The time now is 11:35 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.