I'm new to Python. I want to generate a 100K binary file. The file contents will be (in hex):
00000000 00000001 00000002 00000003
00000004 00000005 00000006 00000007
...
I read some examples, but they all write a string to a text file. That's not what I want.