(self)
File size in bytes
File size in bytes
File size in bytes
def size(self):
        """File size in bytes"""
        try:
            fstat = os.stat(self.filename)
            return fstat.st_size
        except (IOError, OSError, TypeError):
            return -1
def size ( self ) : try : fstat = os . stat ( self . filename ) return fstat . st_size except ( IOError , OSError , TypeError ) : return - 1