Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

Python offset to length write in a File

I have these two values in a tuple (offset, length)

The 'offset' is basically a pointer here.I want to write the content of the 'offset' up to the 'length' (contains number of bytes) in a FILE.

What is the best way to do that in Python ? How to implement this ?

Comments