Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #47964
| Date | 2013-06-13 16:44 +0300 |
|---|---|
| From | Burak Arslan <burak.arslan@arskom.com.tr> |
| Subject | Re: Must we include urllib just to decode a URL-encoded string, when using Requests? |
| References | <CAKDXFkO6t9dkYTrughGL4DzBfAOypia7w34hkmFAN9xext9TWA@mail.gmail.com> <kpcgvj$m7p$1@ger.gmane.org> <CAKDXFkOYUgb-Sw=MK3SpSNPUAO+ubt248E9KX39aK8T7+=ZcUQ@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3196.1371131676.3114.python-list@python.org> (permalink) |
On 06/13/13 16:25, Dotan Cohen wrote: > On Thu, Jun 13, 2013 at 4:20 PM, Robert Kern <robert.kern@gmail.com> wrote: >> Yes. Do you think there is a problem with doing so? >> > I'm pretty sure that Requests will use either urllib or urllib2, > depending on what is available on the server. I would like to use > whatever Requests is currently using, rather than import the other. > Can I tell which library Requests is currently using and use that? > paste this to your python console, it'll show you what modules requests imports: import sys p = set(sys.modules) import requests for m in sorted(set(sys.modules) - p): print(m) burak
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Must we include urllib just to decode a URL-encoded string, when using Requests? Burak Arslan <burak.arslan@arskom.com.tr> - 2013-06-13 16:44 +0300
csiph-web