示例#1
0
    def __init__(self, user_id, start_line=1):
        BaseFollowerFile.__init__(self, user_id)

        # Obtain a copy of the file and read all the contents in memory
        self.local_copy = download(user_id, 'fws')
        self.item_size = struct.calcsize("!Q")

        self.local_copy.seek(0, 2)
        self.length = self.local_copy.tell() / self.item_size
示例#2
0
 def __init__(self, user_id, start_line=1):
     BaseFollowerFile.__init__(self, user_id)
示例#3
0
 def __init__(self, user_id, start_line=1):
     BaseFollowerFile.__init__(self, user_id)