How to overwrite some bytes in the middle of a file with Python?

前端 未结 3 1386

I\'d like to be able to overwrite some bytes at a given offset in a file using Python.

My attempts have failed miserably and resulted in:

  • overwriting t
3条回答
提交回复
热议问题