Must we include urllib just to decode a URL-encoded string, when using Requests?
Robert Kern
robert.kern at gmail.com
Thu Jun 13 09:20:56 EDT 2013
On 2013-06-13 14:05, Dotan Cohen wrote:
> I am using the Requests module to access remote URLs. Sometimes I need
> to URL-decode or URL-encode a string (via RFC 3986). Must I import
> urllib or urllib2 just to use their quote() and unquote() methods?
Yes. Do you think there is a problem with doing so?
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the Python-list
mailing list