Yes, or with os.SEEK_CUR you can move by a relative offset. I am not sure, but I would assume it's more efficient than reading data you don't need.