python: edit ISO file directly
Is it possible to take an ISO file and edit a file in it directly, i.e. not by unpacking it, changing the file, and repacking it? It is possible to do 1. from Python? How would I do it? Of course, as with any file. It can be done with open/read/write/seek/tell/close operations on a file. Pack/unpack the data with struct/ctypes. It would require serious knowledge of the contents of ISO, but I presume you already know what to do. If you're lucky you can try using mmap - the interface to file contents string-like. Have you seen Hachoir , a Python library to "view and edit a binary stream field by