slice method

slice

Returns a new Blob object with bytes ranging from the optional start parameter up to but not including the optional end parameter, and with a type attribute that is the value of the optional contentType parameter.

Returns

Returns a new Blob object with bytes ranging from the optional start parameter up to but not including the optional end parameter, and with a type attribute that is the value of the optional contentType parameter.

def slice(self, start, end, content_type):
    ...
ParameterTypeDescription
startintThe parameter is a value for the start point of a slice
endintThe parameter is a value for the start point of a slice
content_typestrThe parameter is a media type of the Blob

See Also