How do I edit an executable with python by address/offset/bytes, like in a hex editor?
<p>I've used Hex-rays IDA to find the bytes of code I need changed in a windows executable. I would like to write a python script that will programmatically edit those bytes.</p>

<p>I know the address (as given in hex-rays IDA) and I know the hexadecimal I wish to overwrite it with. How do I do this in python? I'm sure there is a simple answer, but I can't find it.</p>

<p>(For example: address = 0x00436411, and new hexadecimal = 0xFA)</p>
