1

I have

import urllib
the_result = urllib.urlretrieve(file_url)

how can I know if the connection with that file server was successful and I have the image?

if I do:

the_result[1]

I am getting only:

Server: ..
Date: ..
Content-type: ..
Connection: ..
X-Powered-by:..
Vary: ..
ZdaR
  • 22,343
  • 7
  • 66
  • 87
doniyor
  • 36,596
  • 57
  • 175
  • 260

0 Answers0