Красивые фото бизнес ланчей
import requests
from PIL import Image
import io
def get_image(url):
response = requests.get(url)
return Image.open(io.BytesIO(response.content))
business_lunch_photos = [
«https://media.istockphoto.com/photos/plate-with-healthy-colorful-food-picture-id1018669350»,
«https://media.istockphoto.com/photos/sliced-fresh-tomatoes-on-a-plate-picture-id870457618»,
«https://media.istockphoto.com/photos/fresh-spinach-salad-with-quinoa-chickpeas-and-feta-cheese-picture-id1165092286»,
«https://media.istockphoto.com/photos/top-view-of-delicious-chicken-salad-with-vegetables-picture-id1140500477»,
«https://media.istockphoto.com/photos/healthy-beef-salad-with-vegetables-picture-id1133793823»,
«https://media.istockphoto.com/photos/delicious-fresh-salad-of-mixed-greens-cucumber-and-tomatoes-picture-id1149246633»,
«https://media.istockphoto.com/photos/spaghetti-with-tomato-sauce-and-basil-on-a-plate-picture-id894744696»,
«https://media.istockphoto.com/photos/fresh-vegetables-on-a-white-background-picture-id585063926»]
for url in business_lunch_photos:
image = get_image(url)
image.show()