Skip to content

Instantly share code, notes, and snippets.

@quend
Created September 14, 2015 16:32
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 quend/984e5fe08718615338c8 to your computer and use it in GitHub Desktop.
Save quend/984e5fe08718615338c8 to your computer and use it in GitHub Desktop.
currentEa = 0x2214
i = 0
out = []
while i < 3476:
out.append(Word(currentEa))
currentEa += 2
i += 1
fd = open(r'prime_index_map.py', 'wb')
fd.write("prime_map = %s\n" % repr(out))
fd.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment