please download the attachment ,and put in  c:\test.data<br><br>and run the folloeing code:<br><br>from struct import unpack<br>file_obj = open('c:\\test.data', 'r')<br>day = file_obj.read(40)<br>while day:<br>
            parsed = list(unpack('LLLLLLL', day[:28]))<br>            print parsed<br>            day = file_obj.read(40)<br>            <br><br><br><br>[20081014, 2139065, 2146730, 2016184, 2017321, 53353969, 81131895]<br>
wi2mt<br>[20081015, 1995885, 2013491, 1963103, 1994667, 29604089, 47896861]<br>xi2å<<br>[20081016, 1916133, 1943320, 1901503, 1909941, 35148740, 59837806]<br>yi22S<br>[20081017, 1921842, 1941299, 1902598, 1930651, 26152709, 45736073]<br>
|i2T\<br>[20081020, 1924180, 1979840, 1890920, 1974010, 32116330, 54057592]<br>}i221<br>[20081021, 1978674, 1996658, 1956110, 1958529, 38697702, 62318899]<br>~i2ナ}<br>[20081022, 1932677, 1950791, 1894310, 1895822, 32351379, 53899980]<br>
i2{?<br>[20081023, 1851259, 1879849, 1828308, 1875561, 32972464, 54004501]<br>タi2ᆵ゙<br>[20081024, 1875631, 1888101, 1825526, 1839621, 31704770, 51634501]<br>テi2Iロ<br><br>Traceback (most recent call last):<br>  File "C:\data.py", line 5, in <module><br>
    parsed = list(unpack('LLLLLLL', day[:28]))<br>error: unpack requires a string argument of length 28<br><br><br>why i can't  parse all of them??i just can get  a small  part of them.<br><br><br><br>