On 06/13/13 16:25, Dotan Cohen wrote:
On Thu, Jun 13, 2013 at 4:20 PM, Robert Kern <robert.k...@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
--
http://mail.python.org/mailman/listinfo/python-list