PhilC opened this issue on Mar 04, 2011 ยท 12 posts
PhilC posted Sat, 05 March 2011 at 11:38 AM
Not there but a little more structured.
def main():
import struct
filepath = "C:test ball.pmd"
f = open(filepath,"rb")
data = f.readlines()
print data
print
print"-----------------------"
print
f = open(filepath,"rb")
while 1:
chunk = f.read(4)
if chunk == "":
break
print struct.unpack('<4b',chunk)
f.close()
main()