I need to extract an image from a Google Sheets spreadsheet. It is not connected to a cell, and does not have an URL--it's just an inserted image:
How can I extract it using Python?
Thank you very much for an answer.
here is a part of a code:
import gspread
from oauth2client.service_account import ServiceAccountCredentials
import urllib
import numpy as numpy
scopes = ['spreadsheets.google.com/feeds']
creds = ServiceAccountCredentials.from_json_keyfile_name('client_secret.json',scopes)
client = gspread.authorize(creds)
spreadsheet = client.open_by_url("docs.google.com/spreadsheets/d/…)
worksheet = spreadsheet.worksheet("Ark1")
list_of_lists = worksheet.range('A1:Q31')
print('{}\n'.format(list_of_lists))