Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/27/23 in all areas

  1. I think that about covers it!
    1 point
  2. You might be just an atheist in disguise, like the ones described here (from the same wiki article): 😄
    1 point
  3. Not playing golf is not a sport. Not collecting stamps is not a hobby. Not believing in god(s) is not a belief system, nor a religion.
    1 point
  4. In the above code you showed, the image_url is taken from the user input, but you must use the content returned by BeautifulSoup. https://www.google.com/search?q=scraping+images+python+beautifulsoup Tutorial from the first link: import requests from bs4 import BeautifulSoup def getdata(url): r = requests.get(url) return r.text htmldata = getdata("https://www.geeksforgeeks.org/") soup = BeautifulSoup(htmldata, 'html.parser') for item in soup.find_all('img'): print(item['src']) The src in the above is a relative or absolute URL. You need to convert it to an absolute URL and use it in requests.get() (or alternatives), then output from it in Image.open() to retrieve the image. Then use image object where you need to.
    1 point
  5. ..so he looks like usual..
    1 point
  6. Thank goodness ! I thought I was gaining weight.
    1 point
  7. I can't tell you what the weather forecast will be next month either. Tell that to the climate scientists. Forecasting based upon the known facts isn't WAG. And technology has been advancing steadily for millennia and exponentially for centuries. It's not WAG to expect that to continue. In fact, anyone predicting technology to stagnate would be the one making baseless claims.
    -1 points
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.