On 10/05/17 17:06, Rafael Knuth wrote:
>>> Then, there is another package, along with a dozen other
>>> urllib-related packages (such as aiourllib).
>>
>> Again, where are you finding these? They are not in
>> the standard library. Have you been installing other
>> packages that may have their own
>> Then, there is another package, along with a dozen other
>> urllib-related packages (such as aiourllib).
>
> Again, where are you finding these? They are not in
> the standard library. Have you been installing other
> packages that may have their own versions maybe?
they are all available via P
this is one of those things where if what you want is simple, they're all
usable, and easy. if not, some are frankly horrid.
requests is the current hot module. go ahead and try it. (urllib.request is not
from requests, it's from urllib)
On May 8, 2017 9:23:15 AM MDT, Rafael Knuth wrote:
>Whic
As a side note see a tutorial on urllib and requests and try them at the
same time
see for python 3.x; 3.4 or 3.6
also see the data type received by the different combinations, when you
should use .read() etc
also use utf-8 or unicode like .decode("utf8")
Well play around fool mess with it, fee
On 08/05/17 16:23, Rafael Knuth wrote:
> Which package should I use to fetch and open an URL?
> I am using Python 3.5 and there are presently 4 versions:
>
> urllib2
> urllib3
> urllib4
> urllib5
I don't know where you are getting those from but the
standard install of Python v3.6 only has urllib
Which package should I use to fetch and open an URL?
I am using Python 3.5 and there are presently 4 versions:
urllib2
urllib3
urllib4
urllib5
Common sense is telling me to use the latest version.
Not sure if my common sense is fooling me here though ;-)
Then, there is another package, along wit