Create a gist now

Instantly share code, notes, and snippets.

@plainspooky / Secret
Created Feb 18, 2016

What would you like to do?
Conversor bem simples de arquivos Intel Hex para binário
#!/usr/bin/env python2
import bincopy
import sys
def main(argv):
inputfile = argv[0]
f = bincopy.File()
with open(inputfile, "r") as fin:
print f.as_binary()
if __name__ == "__main__":
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment