Skip to content

Instantly share code, notes, and snippets.

Created March 28, 2014 01:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/9823364 to your computer and use it in GitHub Desktop.
Save anonymous/9823364 to your computer and use it in GitHub Desktop.
i = 0
dataSet = []
while i != 256:
dat = f.read(2)
(temp, )= struct.unpack('h', dat)
dataSet.append(temp)
i = i+1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment