mas 0x6A 0x00 0x68 0x00 0x30 0x40 0x00 0x68 0x08 0x30 0x40 0x00 0x6A 0

1
2
3
4
5
6
7
8
9
mas = [0x6A, 0x00,
0x68, 0x00, 0x30, 0x40, 0x00,
0x68, 0x08, 0x30, 0x40, 0x00,
0x6A, 0x00,
0xE8, 0x0d, 0x00, 0x00, 0x00,
0xFF, 0x25, 0x08, 0x20, 0x40, 0x00]
f = open('text.bin', 'ab')
for i in mas:
f.write(chr(i))