Logo Search packages:      
Sourcecode: zope-extfile version File versions

def zope-extfile-1.4.2::ExtFile::ExtFile::get_size (   self  ) 

Returns the size of the file or image 

Definition at line 318 of file ExtFile.py.

00318                       :
        """ Returns the size of the file or image """
        fn = self._get_fsname(self.filename)
        if fn:
            return os.stat(fn)[6]
        return 0
    
    # b/w compat
    rawsize = get_size


Generated by  Doxygen 1.6.0   Back to index