Created
April 7, 2016 01:33
-
-
Save ijiraq/4081c0009618d372affac013850070e5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import struct | |
mpc_line = " ANONN01* C2013 11 01.30171 01 24 29.830+11 52 12.04 22.9 r 568" | |
mpc_format = '0s5s7s1s1s1s17s12s12s9x5s1s6x3s' | |
mpc_record = struct.unpack(mpc_format, mpc_line)) | |
print mpc_record |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment