Answer the question
In order to leave comments, you need to log in
Python How to open file not from computer in binary mode?
To send photos from a computer to the server, I use this:
But if you insert a link from the site, for exampleopen('bla.jpg', 'rb')
i.stack.imgur.com/bq6O5.png, does not work:
Traceback (most recent call last):
File "", line 1, in
FileNotFoundError: [Errno 2] No such file or directory: ' i.stack.imgur.com/bq6O5.png '
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question